Think of Bell Labs.
Google has a number of Bell Labs style projects ongoing that massively benefit scientific research. Transformers, AlphaFold, etc.
It's hard to see how a smaller, more focused company would be able to justify that type of R&D.
That said, I do see an issue where some of the smartest people get sucked up by big tech. Instead of working on fundamental advances in image processing they end up working on beauty filters for Instagram. That can't be right.