China literally produces the most solar panels, electric cars, and batteries by far. In 2022 83% of new electricity generation in China was renewable (https://news.ycombinator.com/item?id=42037497). That doesn't scream a country that "doesn't care".
They might be building a lot of new coal plants, but they aren't actually using them more than they already did (see above). Why would they waste their coal? They build more solar panels than they know what to do with, the sun is free, and they don't have NIMBY groups holding up construction.