I think partly it's that people are inspired by the category of businesses that seem like: given $30k and two years in a garage, I could do that! This requires a particular kind of company, and lots of success stories just don't seem like the kind of thing you could do in a garage, so they aren't part of this particular corner of the Valley mythos. For example, one of the top tech IPOs of 2013 is CDW, a Chicago-based B2B firm that's been slowly growing since 1984 by building partnerships and logistics infrastructure, and is now IPO'ing 29 years later. Totally different kind of company.
I think the location actually matters a bit less. People probably do pay more attention to SF-based companies just because that's where a lot of the startup-sector media is, but companies from elsewhere that fit the model I described also get press, like 37signals (Chicago) or SoundCloud (Berlin). A number of the more prominent HN posters with startups are also from outside the Valley, like tptacek (Chicago) and cperciva (Vancouver).
Not having ever founded a company I could be extremely wrong here but my take is that SF could be detrimental to certain startups.. If you have $x saved up to support you while you start a company it's going to last you much longer in basically any other city in the country other than perhaps Manhattan. At that point you basically have to decide which is going to be more of a factor in your success, extra time with which to build your product or physical proximity to an entrepreneurial community? Of course there's no one right answer, but I suspect that for many web-based startups the extra time and savings would be more important than the surrounding environment.