China's energy use is still rising. In terms of g CO2e/kWh, yes, they're transitioning rapidly. But in terms of total CO2e emitted, China's footprint is still expanding its footprint unless there's an economic crisis (like the recent excess housing/tofu dreg crisis).
Part of the reason for that is that China's primary motivation for their use of wind/solar/batteries is economics, rather than the prevention of climate change or biodiversity loss.
In the late 2000's, Chinese leadership realized that wind/solar/battery technologies could be viable worldwide, and that they could be optimized heavily. They also knew that, besides oil/gas imports being costly, they probably couldn't ever import enough oil/gas to bring the Chinese average lifestyle up to the standard envisioned in their plan. And of course, they had massive smog problems—one important point was that during the 2008 Olympics, the government had many factories and coal plants turned off, to avoid national embarrassment over the level of smog in Beijing. So they heavily invested in this stuff, Chinese companies became market leaders, yada.