Two uses
Insurance. Standard hazard insurance policies cover the structure up to replacement cost (or some fraction of it). The replacement cost on the policy determines the premium and the payout ceiling in a total loss.
Price context. If similar properties cost more to build than to buy, builders are less likely to add new supply. That can help existing landlords because fewer new rentals may compete for tenants. It does not make the deal automatically good, since the rent, expenses, and financing still need to work, but it can support a strategy focused on cash flow.