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.
The US also apparently seeks energy independence, but seems unwilling to give up "farmland" (or, you know, household roofs or awnings over parking lots) to do it.
us is very close to net energy independence, if anything the nondesire to retool petrochemical plants for ultrasweet fracked fuel is the blocker for true energy independence.