You have to wonder if the warranty in the US extends to second purchasers. Most US leases are 3 years and 8-12k miles, meaning that the typical off lease vehicle will not exceed 36,000 miles.
Most lease returns are cleaned up and sold as certified preowned cars. The CPO warranty is usually just as good (and sometimes even better) than the new car warranty.
Very true. I purchased my last BMW two years old. It came with a two-year warranty and a two-year maintenance package.