Ignoring the politics, we have to say that China has done the world collectively as a whole a major service in strategically developing and mass producing super cheap solar panels.
Don't forget Germany. If you look at the amount of PV built in Germany early this century and make some admittedly strong assumptions about learning curve, one could argue the Energiewende, then usually called failure, singlehandedly accelerated PV development by decades. I don't recall Germany ever credited on that.
But since then there was an endless stream of negative press especially in English speaking countries against German energy policies, so not much of this positive comments are still remembered.