Microsoft is a public traded company. You can safely assume that anything they do is really about generating value for shareholders. Of course they don't "love open source". But they probably love what it does for them (e.g. enable them to run Azure).