China is doing this for energy independence. Their fossil fuel supply chain is critically vulnerable. They don't care about the climate, but will happily play the optics.
I'd say they care quite a bit about the climate; China goes in for long-term planning, and their water supply in particular is _already_ precarious. They're likely quite vulnerable to climate change.