> Rent is a function of supply and demand, not a landlord's costs
Only in one direction. If that rent, based on supply and demand, does not cover all of the owner's costs (+profit) then that rental property simply disappears off the market. No owner is going to rent out at a loss, so either the renter is paying for all expenses (+profit), or they get kicked out.