By buying wind and solar power capacity instead of paying spot price. That's what Google has done in the north-east of the Netherlands, Microsoft in the north-west and Facebook is now going to build in the middle. All close to wind energy parks on which they buy long term capacity.
Which on planet scale is great, because it puts all those datecenters on renewable energy which is good for everyone. But on country scale it's a problem because it consumes a huge part of the available renewable energy and requires building new wind farms to meet climate change agreements. And people don't like wind farms in their backyards.