Johnson Controls has announced a big swing to loss on the back of lower production volumes and restructuring charges.