If you define as achieving market efficiency, maybe that's not the objective.
It's like unionising, it may make companies less market-efficient by giving more power and control to the workers. Rent control affects landlords by giving more power to tenants.
Building more houses, etc., is an orthogonal issue to rent control.
[1] http://www.socsci.uci.edu/~jkbrueck/course%20readings/gyourk...
[2] https://www.policylink.org/sites/default/files/RentControlMy...
Government does plenty of things that are unprofitable for the benefit of all.
This kind of policy needs to be a multipronged approach in policy to provide both new construction and long-term leases (usually 20 years).
[1] https://housingpolicytoolkit.oecd.org/www/CountryFiches/hous...