Tech startups helped turn a handful of metro areas into megastars. Now they’re tearing those cities apart.