And Google's has brought in a lot of revenue from Hardware, Cloud, etc.: https://www.theverge.com/2020/2/3/21121492/google-hardware-m...
I think thinking of them as one dimensional companies is overly simplified.