Don't look too closely at NYC, Vancouver, london, or any of the other hot markets. Whether for historical preservation scams or investment trickery, it is not unusual for a building to sit empty for many years. Given the effort that it takes to oust tenants, and the length of time necessary for zoning/planning, many owners would rather a building sit empty for years pending redevelopment rather than the hassle of filling it.
Google "Calgary new horizons mall". From the owner/developer's perspective that mall is technically full and, at least for them, profitable.
That mall in Calgary isn't vacant either. Each store/stall is technically occupied by its owner. There just aren't any flesh and blood people in the mall.
That mall does have people shopping in it. In terms of retail square footage it’s underutilized but a long way from empty. Good or bad investment they are not building 3 of them next to each other while the first is far from full.
Really, you have some edge cases with people trying to time the market, deal with zoning or lawsuits etc. But, that’s different from seeing 6 empty apartment buildings and saying let’s build another one.