Many cities are stuck with empty homes that they will likely never fill, adding to the country’s economic woes.