It's inevitable, but China accelerated it (as did a few others). And solar isn't alone. Any professor in physics will say that EVs, heat pumps and LEDs are all inevitable.