When I think of NYC, SF, Austin, Seattle, I think of cities with robust arts/culture/dining/entertainment, accessibility (public transit) and enough professional basis to allow job mobility. These things entice younger people to congregate.
There are other metros that have great education and in particular tech education (Raleigh/Durham, Pittsburgh, Chicago) but don't tend to build up tech industries.