Constant pricing means they make more when wholesale prices tank and less when whole prices rise. I’ll sell you X% of my output for Y$/kWh is a perfectly valid strategy and batteries can absorb output spikes just as they absorb blackouts.
Hedges like this are a useful risk mitigation strategy as going bankrupt is a much larger downside than making slightly more money.