The fix? Don't do dense cities. 80-85% of the US population prefers single-family houses to apartments.
We need to promote remote work and BUILD NEW SPARSE HOUSING. Do not do the nonsense "upzoning", instead build new suburbs.
Remote work can be promoted by giving tax breaks for remote positions or by taxing dense office space.