After six years of rising apartment rents in U.S. cities, investors from all corners of the real-estate industry are piling into new projects in a bet that the boom still has a long way to run.

Over the next three years, developers are expected to build almost one million apartments in the U.S., more than the nearly 900,000 constructed over the previous three, according to researcher Axiometrics Inc.

In...