Apartment buildings, townhomes, and a senior living community are planned to replace underutilized office space.