Google was a search engine that made money via ads then pivoted into an ad platform that also has a search engine. Android and Chrome are about ensuring they have a seat at the table and don't get pushed out by Apple or Microsoft. The first thing of significance they've done that doesn't fit this is their cloud platform.
Their cloud platform is the same thing: trying to not get pushed out by Amazon and Microsoft.
Google Cloud is about ensuring that those two have competition and can't somehow pull an EEE. Extreme scenario: vast majority of world's online businesses are hosted on AWS and Amazon for whatever reason creates their own AWS ad service and forbids or undercuts Google AdWords for everything hosted on AWS.