While the furious expansion of solar generation bodes well for efforts to replace fossil fuels, the breakthrough also exposed flaws in the energy system