I was going to buy out my leased 2018 M240i but ended up finding an allocation for one of the last MY21 model. Took delivery in August and couldn't be happier. I purchased this one instead of leasing as I want to keep it long term.
If you really like the car, I would buy it out. If you are worried about maintenance/warranty coverage reach out to Christine for a quote, great prices and service! You can find more info
Here.