There are little hubs of "SF-like" technology centers, like Kendall Square: https://en.wikipedia.org/wiki/Kendall_Square#Businesses_and_... and and the south Boston Innovation District (hate the name, it came from Mayor Menino, but he was very successful at getting it running). But if you walk a few blocks in a straight line, you can easily get out of the tech bubble and go to a hundred year old Irish pub, or hang out with people who don't know how to program, which is why I like it!
There's also the "holdover from the 80's" tech office parks in Burlington, where MITRE is and Sun Microsystems (RIP) used to be. Lots of good newer companies there too, and my husband keeps trying to convince me to consider working in Burlington because real estate is so much cheaper, but I don't think it's going to happen any time soon! The good thing is that all the guys who used to work there are often working in the city now, so you get a LOT of graybeards and people who developed Java, or Linux tools 30 years ago, or are influential in the IETF hanging out. It's just a really great culture. Obviously different from San Francisco, but I love it!
All said though, I think I've received much better opportunities in Boston, I love being around a more culturally/educationally diverse group of people, and I'm not sure the social pressures in SF would have molded me into a "better" person. Honestly, I'd probably hate "SF me," and I couldn't have asked for (or really wanted) a better early career than the one I'm having.
Although I have friends who are regretting their choice to move, and that sucks, I have to admit to a certain amount of schadenfreude, watching everything unfold in the last couple years. I'm sure San Francisco will be a tech hub for years to come, and I'm sure other tech hubs will continue to emerge, but it was a great early lesson for me that moving for a career often isn't the magic bullet that people think it is (or that staying put is a death sentence) -- especially in tech.
Certain extreme examples aside (it's hard to be a lumberjack in New Mexico), "career options" should be only one factor in choosing where to set your roots (or whether to set them at all), and, at a certain point, you can only take advantage of so many opportunities in a lifetime, so there is a saturation point at which more of them become meaningless. Also, watch out for terrible advice when you're young :-p