The U.S. is building more apartments than it has in half a century, but the poorest people still can’t afford them.

The amount of units affordable to the lowest income groups has decreased across the country even as apartment construction has reached a 50-year-high and even as overall rent growth is slowing …