Earlier quoted context omitted.
They still mostly rely on coal. Slightly more than half of electricity is generated by burning coal, whereas in the US, it's only 15%. The renewable energy share in generation is roughly the same in the US and China, but not for capacity.
The direction of travel is clear though. China is making massive investments in renewable energy (and dominating sectors like solar in the process) while the US seems hell bent on going the other way.
China is concerned with not having to import energy. They don't care much about climate change.