Lease Price vs Purchase Price

Recent deal on a 2018 Q5: