I think a lot of people miss the fact that China did not get to electric out of the blue it invested heavily in all these techs Hydrogen, Nuclear, Wind, Solar and batteries the cheapest and easiest to scale turned out to be Solar, Wind and then batteries.
Even today China is still building more hydrogen and nuclear plants than most of the world combined but those technologies have not scaled or gotten cheaper at the same rate as solar, wind and batteries so are not growing where as solar and wind are. China is close to reaching the point where it could start replacing its coal electricity with solar, wind and battery as it is cheaper.