Basically, instead of just relying on batteries, consumers of power can often also shift when they are going to consume the power. Spot markets and future markets can help here.
We already see that in industrial applications, where you can get power very cheaply, if you can tolerate arbitrary power cuts during peak hours.