California and New York are already working on plans for this at the state level.
Being a landlord is still viable elsewhere - but hiring a good property management company helps a lot. Many owners don't want the added expense, but I find good management pays for itself many times over.
Property management is about 15% of revenue, which if you have a mortgage will eat all of your cash flow and 40% of your cash flow after taxes, insurance, hoa and maintenance if you don’t have a mortgage. I do just fine managing myself - more than fine actually - lower vacancy rate (usually just one week between properties), usually no damage to the place ever, and never had to evict anyone (currently have 6 rentals).