China doesn't actually care to much about green energy production, it's more that green energy production just happens to be one of the best ways for China to achieve energy independence.
China doesn't have huge reserves of fossil fuels, and they don't have a truly reliable way of importing them (and any import will always be vulnerable anyway).
So they are left with coal, nuclear, wind, and sun to build energy independence with. This is the primary driver of massive "green" investment (and coal investment too). They want all their energy made in house with what they have, which turns out to be a lot of cheaply accessible sun and wind.
China doesn't have huge reserves of fossil fuels, and they don't have a truly reliable way of importing them (and any import will always be vulnerable anyway).
So they are left with coal, nuclear, wind, and sun to build energy independence with. This is the primary driver of massive "green" investment (and coal investment too). They want all their energy made in house with what they have, which turns out to be a lot of cheaply accessible sun and wind.