China is the world’s biggest emitter of greenhouse gases driving climate change, but it is also the top producer of wind and solar energy.