A panic over renewable energy and billions in subsidies turned the world’s biggest carbon emitter into the world’s largest solar panel maker nearly overnight—but that doesn't mean those panels were put to use.