The commercial real estate industry is in the throes of a painful adjustment to higher borrowing costs and lower occupancy rates.