The difference is Microsoft sells and licenses products to help customers with real needs. Google's customers are all about dark marketing.
Microsoft hasn't charged consumers for upgrades to Windows for years - and surely that is because they expect to profit from advertising.
The same can pretty much be said for Windows Pro and small businesses. Why is there no subscription to Windows? Why can't I pay to get 3 more years of security fixes for Windows 7 however an enterprise can?