However, what could happen is that the rental income after tax is lower and not enough anymore to cover the mortgage or the maintenance costs, then the property has to be sold.
More supply of rental property? Rents go down so that landlords aren't stuck with vacancies. More demand for rental property? Rents go up so landlords can maximize their profits.
FYI: Selling a property doesn't take it off the market. It's just owned by a new owner, who's gonna either live in or rent it just like before.
There may be an offsetting overall reduction in the value of all real property, but it seems like reducing or eliminating these deductions[0] would be harmful to renters, not helpful.
[0] - Deductions like this, by the way, are available to all sorts of other profit seeking businesses for the equipment and supplies they use in the conduct of their business and I see no reason why a house should be different from a factory machine or laptop computer or airliner nor a minor repair to a house be different from a pad of paper or other consumable with regards to whether ordinary and necessary business expenses ought to be deductible against gross revenue when computing profit.