Amid widespread office vacancies, developers say creating apartments could provide housing and help stave off declining values.