A landlord who is 'out on the street' because they are no longer getting the rent from their investment property is in no different or worse a position than a worker who becomes homeless because they no longer have a job. A landlord with no back-up plan when rent doesn't come in is someone who made a very large and risky investment but did not consider the possible downside to that investment, and should be punished for their poor investment no differently than someone who takes out a loan to buy a risky stock.
I don't think that tenants have an indelible right to live where they are forever, and a land owner has the right to charge what they see fit for rent, but in these types of extenuating circumstances it would be shameful if landlords did not carry some if not the majority of the burden for their risky decisions.