One of the main ways we've avoided this problem so far is that solar kept getting cheaper.
So it's not really a problem caused by cheap solar, it's just basic market competition, lots of supply with no barrier to entry drives prices down towards the long term marginal cost.