My son has one of the oldest M3s, a 2018 (bought in June/2017) LR RWD. It now has almost 350K kms (about 220K miles). It is still going strong. He did get a new battery (old one was damaged by road debris) at about 200K kms. He says his current range is still about 500K kms (about 310K miles) which is not too bad.
He just drove back back with his family from Phoenix to Vancouver, BC (kids were on spring break), in two days. He is pretty good at planning his charge stops, so doesn't waste much time. That's about the same time it took me with an ICE car back in 2020 (during covid).
He has done numerous repairs over that time, and there are few that he is not doing, just going to live with it (eg big crack in overhead sky window). So for now, it is still his trip car, and not planning to sell it anytime soon.
He tried the FSD free trials, but didn't like it, so he doesn't have that, just the regular auto pilot.