Edit- Some houses are also still heated by oil that has to be delivered on a routine basis and I could see that having a lease as well.
If you have an agreement for an oil company to come fill your oil when it gets low, you just terminate your agreement when you sell your house.
I have an agreement from a company that they deliver oil automatically when I need it, but I don't pay anything extra vs just calling them for a one time delivery and I can terminate the agreement at any time.
Furnaces, air conditioners, water heaters, and water softeners are all often installed on contract.
Many home equipment leases are abusive in nature -- they're deliberately made hard to cancel, with many leasors attaching extortionate "equipment removal" fees to cancellation.