If miners weren't there to be the buyer of first resort of that excess electricity it may not be produced in the first place and the grid would be in danger of experiencing a blackout.