It's the other way about. Batteries in Chinese cars are mostly lithium iron phosphate. Not a lot of rare earths there. The motors are mostly permanent magnet motors and they definitely do have rare earths.
But anyway the name rare earths is mostly a misnomer, they aren't especially rare, less so than gold, copper, etc. They are just not conveniently located for extraction.
The batteries are expensive simply because the replacement battery market is not yet a large low risk mature market. This is in part because the batteries are lasting longer than most people, the manufacturers included, expected.
It is the electric motors that use rare earths but sounds like companies are moving away from that.
You are talking simple engines, I'm talking high-end engines.
The circuits driving it probably have a higher failure rate, but we've gotten so good at manufacturing electrical circuits it still seems much easier and cheaper than a mechanical engine.
This analysis is really just relevant for cars that someone would want to keep well-maintained for 20+ years at significant expense. Most EVs are boring so I don't expect them to be in that category either. But if you did really get attached to one, you might have to rebuild it from scratch with totally different internals to keep it going, and it would only look like the original on the outside.