The thing people need to understand about China is that they tell you exactly what they're doing and why. There's no mystery in it. They have five year plans. They have doctrines. They love writing stuff down. And you will better understand and be able to predict China than 95% of Western analysts if you simply take what China says at face value. Seriously.
Consider Xi Jinping Thought on Ecological Civilization doctrine [1]. At the UN Summit on Biodiversity in 2020 Xi Jinping said [2]. He is saying that the world cannot support the developing world living in a resource-intensive way that Western societies currently do and you need a more ecological way of living. So when China massively pushes solar and other renewables, it's just the natural extension of their political philosophy.
The US, on the other hand, is just 5 companies in a trench coat.
[1]: https://en.wikipedia.org/wiki/Xi_Jinping_Thought_on_Ecologic...
[2]: https://en.chinadiplomacy.org.cn/2021-01/27/content_77158874...