Google haven't veered off their modus operandi since, maybe, its inception. Most people would say they're an ad company but if you look closely they're a patent hoarder and billion user product/service chaser.
Beyond its products/services you should look at their acquisitions as well, so you can have a fairly decent picture of what they're trying to achieve.
I doubt Google will vanish that easily, if, for whatever reason, ads become unsustainable (which is very unlikely) I predict they're are going to start licensing their tech to the highest bidder much like what they're doing right now with Waymo. (Waymo's end goal, like other players in this field, is insurance, btw.)
It's equally important to recall that they have lots of investments on a lot of other well-known companies (some are even outright competitors). (Makes one wonder if they're using those positions to keep their edge in the market that they may intend to takeover in the future.)
The "Google feels old now" feeling we're currently experiencing comes mostly from a power struggle between Big Tech and Big News.
Google have so many investments in so many different fields, and are so risk averse (I'd even risk saying paranoid) that I doubt they're going under any time soon.
But my guess is as good as any, though.