Note: This obviously applies more to renting an entire house than an apartment in an apartment building.
Sorry, I am not from the USA, so I don't know the peculiarities of your peculiar housing market.
Couldn't you just negotiate a rental agreement that gives you more protection?
As for negotiating a better rental agreement? Why would the landlord give you more protection? He has nothing to gain and everything to lose by doing so. The reality is that if you're a good tenant (don't trash the place, pay on time), no landlord will want to kick you out if he doesn't have to. I've been a landlord; good tenants are money in the bank!
That's why it's called a negotiation. You have to give the landlord something they want in return. E.g. slightly more rent is the most obvious choice.
As for a sale: Just negotiate in your rental agreement that the new owner is bound by the same terms as the old one.
You'd probably kick you out too if you'd caused enough trouble to overtake the cost of finding and inducting new tenants.