When developers build apartments in pedestrian-heavy areas, many cities require restaurants or retail on the ground floor. The idea is to encourage people to walk, rather than drive, to shop and dine.

But developers often lose money on those storefronts, and those costs get passed on to renters through higher housing prices.