I've owned many, many BMWs over the past twenty years. I spent way more time and energy fixing quality issues on those BMWs in their first year than I have on my Tesla.
The Porsche Boxster I bought in 2015 was much better than the BMWs in its first year. But it did have a broken convertible top motor upon delivery. And that car just got totalled by my insurance company, because a defective firewall caused water to leak into the interior and destroyed the electronics and interior. The dealer estimated $48K to fix. Yes, $48K.