In NYC rent control was not adjusted for inflation; during the 1970s landlords set fire to their buildings.
You would stop maintaing the investment and led it depreciate away to zero, to at least get some money out of it, but there are building codes, etc.