The scarcity of apartments makes it easy for landlords to raise rents, but building new developments comes with high costs and regulatory hurdles.