DETROIT—When David Di Rita first tried to develop luxury apartments in this city’s downtown, entire skyscrapers were vacant, storefronts were boarded up, drugs were peddled openly and most of the neighborhood’s residents were squatters.

The project flopped before it got off the ground. Mr. Di Rita and his fellow investors lost roughly $1.5 million.

A...