Energy-starved countries on the continent have reluctantly turned to coal and gas for decades. Cheap Chinese solar panels are now finally changing the calculus.