Also Stadia has a subscription basis. Cloud gaming is just too important to let Microsoft win. Just like cloud in general.
Regarding the primary business argument. This is exactly what they are hedging against. Google knows ad revenue can‘t grow forever. Regulation might be coming. Cloud and stuff like this will have to take more and more of the load.