In the past, for technological reasons, because it is technology that determines every civilisation, cities were rich places, because they had trade, nearby arts and crafts; knowledge and economy travelled in this way.
Today, for similar reasons, cities are chicken coops where the inmates are not much different from the human batteries in The Matrix; they live to work, generally without realising it, for masters who are no longer in the city. Technologically, they are failed places, because they cannot evolve without being rebuilt from scratch, and they cannot be rebuilt on such a scale, both due to the impact of the work and the quantity of raw materials required.
Most people never weigh the real cost of a modern city; they are so accustomed to owning nothing that they think what is there is natural, ignoring what they don't see, whether underground (like the cathedral with mega-pumping stations to mitigate flooding beneath Tokyo) or in the surrounding areas to bring water and food, because we all eat, but in the city no one produces.
The cities of the coming century are ghettos, polluted and devastated, where misery is concentrated like a compound, while wealth leaves the compound to reclaim life in nature.