Think Google has done a pretty good job at that actually! Consider their various enterprises that weren't killed:
* Search/ads
* YouTube
* Android/Play, Chrome, Maps
* Google Cloud, Workspace
* Pixel, Nest, Fitbit
* Waymo, DeepMind
* Google fiber
They're not a conglomerate like Alibaba but they're far from a one-trick pony, either :)