Analyzing Google’s steps regarding cloud and container solutions, it seems that they’re open sourcing them in order to promote the paid versions. Kubernetes, Seesaw or TensorFlow free versions are limited or very hard to manage if you’re not an expert, so for most companies it is cheaper to buy them.
Microsoft’s strategy is different. Google tries to drive adoption, but Microsoft releases the code of their cloud projects as a competitive advantage, in order to face more mature solutions. That’s why their Open Source versions are more complete and include more functionalities.
It is clear that the motivations to release Open Source projects are different for companies and for individuals; while it is true that both are very helpful for the community.