For cities whose downtown centers are struggling, investment in a core of residential, retail and entertainment spaces could help lure people back.