much of recent production cost reductions are due to Chinese manufacturing which trade significant environmental damage for increased productivity.
My impression is that China subsidized their solar panel industry and gave that industry grants. Basically they did "Solyndra" a couple dozen times over and then found some winners. The US instead took the Solyndra example and divested. I don't think lax environmental laws was the difference, but instead government investment.