Google (and Facebook etc) are controlled by their founders (some even as majority shareholders). There's no blaming financial markets here.
Facebook was even happy to set fire to a giant pile of cash in pursuit of the 'metaverse', a project that approximately no investors wanted, but that was dear to the heart of their founder.