IMO they would do better to offer hard-to-turn down deals to energy companies in return for guaranteed clean power. (it would be a hell of a thing to have on your power companies adverts)
Is it any stranger than designing and commissioning the manufacture of their own server hardware as to achieve a more efficient ratio of price/reliability for their specific use-case?
There's a lot of information to organize, and doing it efficiently at scale requires moving quite a bit farther down the stack.
Designing your own hardware also, incidentally, lets you control power consumption.
If anything, I'd say the complete opposite: they're in trouble because they're not good at focusing on the web, which is a major non-core venture for them (I think MS Windows & Office are their bread & butter).
Fundamentally, MS never "got" the internet, and they have too much weight to maneuver effectively now.
Make a killer web office suite? Kills off sales of Office and Windows. Make a great webmail site? Kills off Exchange and Windows Server sales.
The side effect is that you see apparently crazy things like some engineer deciding that he wants to install solar panels in the parking lot, which after one thing lead to another lead the company as a whole deciding to be carbon neutral. However the culture sees this as a benefit. After all that was good for morale, good for the corporate image, and the resulting focus on efficiency has been saving money. What's not to like?