While it’s true that EVs can be built with fewer moving parts in the drive system itself, and that companies could absolutely produce longer lasting vehicles if they focused on longevity, there are still a lot of parts of a vehicle that simply will not last beyond a certain point. The moving parts of an EV still cover everything in the suspension, wheels/brakes/steering, and a number of other components that are very costly to replace, not to mention the underlying frame/unibody of the vehicle itself being vulnerable to wear over time depending on the conditions it’s driven in. “The few moving parts that wear out” still covers a huge swath of a vehicle, even if you take the engine and transmission out of the equation.
Well-built EVs with a focus on longevity and repairability could extend the lifespan of the average people mover by a great deal, but at the end of the day cars will by nature eventually reach a point where the cost to repair some major core component becomes too great to justify, outside of rare or collectable cases.