What would you have China do? They're dominating production of pretty much every renewable energy source and its still not enough to support China's industrialization. China also doesn't really have vast oil and gas reserves that it can use to convert coal plants to natural gas plants.
Meanwhile, the EU is thinking of aggressive tariffs on Chinese EVs because... they're too cheap and might get too much adoption in the EU.
Sweet of you to think that