local govts did a few things to enable this. They created a welcoming business environment that allowed for rapid expansion. For example, Stanford Research Park was a joint venture of Stanford, and Palo Alto. I am not sure there is any good writeup on the contribution of local governments to silicon valley.