A lot of older suburbs have a main street like this, including the one I grew up in. They're grandfathered from before the zoning code, not allowed anywhere else in the municipality, and sometimes illegal to replicate even on the same lots [0]. Sunnyvale is what's allowed to exist at scale and to grow all across America.
[0] http://cityobservatory.org/the-illegal-city-of-somerville/