China’s massive solar cell and battery factors are not only helping it reduce its emissions but are now cutting greenhouse pollution around the world.