New York is ground zero for one of the biggest real estate shifts in decades: turning empty office towers into housing.