Just tax the carbon sources and ban building new coal power plants or reactivating defunct ones.
Instead of downvoting please give me one other example why would rational market entity build more renewables than to satisfy demand when production peeks. Because to go full renewables without batteries (and we barely have any when compared to our renewables) we need to always meet the demand even when renewable energy production is the lowest. And what should rational market entity do with the power at all other times where production is far higher than demand?
Because "mine cryptocurrencies with it" seems like the only reasonalble answer in the world where cryptocurrencies exist and people with too much money buy them enthusiastically.