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.
Pumpjacks take up the size of a shed. Fwiw, farmland in west Texas frequently has pumpjacks and windmills installed on them right alongside cow postures and corn fields.