I think decentralization of work (WFH) will counter it in the long term. If you can work from anywhere then your housing options become limitless. I’ve lived in the country the last 15 years - absolutely no way I’ll live in pricy cities.
That said, people in the service industry will continue to suffer - I’ve heard of people commuting hours each way for work! Service industry and cities for that matter will have to get into real estate to provide community (I hope not dorms or projects) for workers.