Stanford was in the VC business long, long before. It's been told many times but Frank Terman set up much of the infrastructure to enable this back in the 1950s, building Stanford Research Park which housed Varian (microwaves and other RF), HP (some digital electronics stuff), and Lockheed (some bomb stuff). And that work built off the incredible investments into California infrastructure by the US military during WWII (
https://steveblank.com/category/secret-history-of-silicon-va...), which followed some amazing investments in education, transport, and housing since the beginning of the gold rush.
But, in all honesty, if you want to identify single factors that truly contributed to Google not just surviving but thriving, I'd point at Jeff Dean. When he joined, Google was unable to update its index due to the design of the indexer. Jeff (along with Sanjay, or as many of us know him, "The Wise One"), built seminal software that enabled google to grow rapidly - not just updating the index faster, but doing search quality on logs, early ad experiments, and more. Obviously, other people played critical roles (Silverstein, /proc/bogdan, SRE Lucas) but IMHO if they hadn't had Jeff and Sanjay, google would have died back in 97 or 98.