For about two decades, one Bronx landlord, Abraham Finkelstein, received millions of dollars from the city to house homeless people in private apartments that he owned with partners. When the city began to work mainly with nonprofit groups in 2017, Mr. Finkelstein shifted his approach.