I mean, the fix is really straightforward. You prevent the burbs from siphoning tax dollars off the host city they surround so that the high cost of sprawl is placed on them, rather than poorer city-center districts.
Then, you emulate the community and land-use strategies of areas in which the eldest are least displaced. One of the key features of global blue zones is the inclusion of elders in society.
This means opening up a lot of zoning space to mixed medium density residential/commercial zones and designating very generous volumes of family-sized units in high and medium density developments to restrict the optimization of development projects into tiny bachelor accommodation units and ultra-spacious penthouses. In short, make medium density housing in walkable communities and stop transferring wealth away from those communities.