It was believed that the Internet and mobile communications, then infant technologies, would make it unnecessary for people to live in crowded and expensive urban hubs. Instead, cities like New York and London have experienced sharp increases in population since 1990, after decades of decline.