Last I heard there was a housing shortage. Obvious solution would be to turn commercial properties into residential ones.
A large office space would need walls and a lot of plumbing work to convert to apartments (and probably a lot more electricity to power multiple kitchens full of appliances).
I view this as an "outrunning the bear" situation. I.e. you don't need to run faster than the bear, just run faster than your poor friend.
The cost to convert an office tower into apartments is high I'm sure, but is it higher than building a similarly-sized apartment tower from scratch? A lot of money goes into the foundation works and soils engineering.
Anyway, you can convert some of them, but it's not an easy journey!