On top of the huge supply shortage, consider that the majority of the U.S. housing stock was built during the Baby Boom suburbanization from 1950-1970, and that the average lifespan of a house's internal systems (plumbing, electrical) is about 65 years. There's a massive maintenance bill coming due right around 2025. Right as the housing stock is largely owned by boomers on fixed incomes who won't have time, money, or health to fix it. Millennials will start inheriting houses en masse around 2035, which solves the housing crisis, but they're going to be houses in various states of disrepair.
There's probably also a lot of room for innovation in home construction and repair - possibly an area where robotics could make a big difference. Unfortunately this is a known "hard problem", where past attempts at mechanization haven't really helped much.