Earlier quoted context omitted.
And Google is 90% ads. OP wanted to use "cool" companies as examples but the actually diversified giants are Microsoft and Amazon.
Saying Google is "just" ads seems a bit disingenuous. Google controls the entire stack for ads, from the all important search, to Google network and YouTube, all the way to operating systems and the browser. That last part is important because Facebook got absolutely fucked by apples privacy changes on iOS. Google has diversified, but more importantly they're not reliant on another company's users.
Must be why they paid Apple $15B last year to be default search on Safari, a mob fee that increases by the year.