If it can't, it will go the way of Microsoft. What is that way? That way is the way of IBM. What is that way? Billions of dollars in earnings, dominant market positions carved out, buy over build technology decisions.
So, yes, it's nice (for some) to imagine Google doing it 'again', but they don't have to do it again, I wouldn't say. Just like Microsoft getting crushed by Google really just ended in Microsoft's growth slowing, and their earnings increasing, Google getting crushed by FB, or some new wunderkind is unlikely to evaporate all those billions of dollars in cash, assets and projects.
Remember when MS was losing the internet?
Edit: Fixed the loosing typos. Not a native speaker here - so I'll blame the spellchecker :)
so true, MS still has the Windows, Office, SQL/Excahnge, and XBox businesses. but its failures in the internet mean that it's not seen as a leader, and its stock price is justifiably suffering.
However they are still far from where one would write them off completely.