Unconstrained by non-competes?
The theory is that the Bay area has a huge liquid pool of talent, and that not being able to hire critical talent at all is even less "economical", in that you're less likely to be able deliver your product or service to market.
California is also a powerhouse of a state. It has the 5th largest economy in the world, and the most productive state government in the U.S. Ambitious projects actually get attempted and built in California unlike so many of the stagnant states in the U.S. Another reason of why SV and not Idaho is the academic research environment of the bay area and the ease of recruiting the excellent talent that comes out of California's universities every spring.
If you are willing to pay 10-15% above market rates (which is still 1/2 of SFBA market rates) there is no shortage of senior engineers in Berlin.
By that I don't necessarily mean everything should be outsourced to India - even Vancouver (same language, same timezone, similar cultural background) has drastically lower developer wages than SFBA & plenty of talent.