Sure the modern engine has multiple moving parts. However its design and operation is well refined and understood, so "parts to wear out" becomes moot at production levels.
Not really. Ask a car service tech about "pattern failures" - this is when a particular model of car has an issue in the design where it always breaks in a certain way and always needs the same repair. A recall is where this pattern failure is so bad it could get someone hurt or killed and needs to be proactively fixed. That shows the designs are not quite so well understood.
And moving parts wear out or go out of adjustment.
A modern ICE vehicle is just designed to wear out past the warranty period.
An electric bike is "simple" in that it's got very few moving parts to fail or wear out, and "simple" in that there's no maintenance.
The main "part" that wears is the battery chemistry, and the bikes are new enough we haven't reached an answer on that.
Sure, the controller and BMS are really complicated, but the good thing is it's all solid state digital electronics, which is really robust once it gets past the "bathtub curve" of initial failures. Except for the contactors, there's no moving parts to wear and a lot fewer failure modes.
It's like when ICE went from points to electronic ignition. You had weights spinning on springs at engine RPM to set the timing advance and a breaker that had to be fine-tuned as to the exact opening point. That went out of adjustment (or just plain broke) in a couple months and the regular tune-up cleaning it and setting it back to the correct positions made a big difference.
Now you don't hear of an "igniter box" failing pretty much ever. It just keeps on truckin' and you never have to tune it up.
It's a lot more complex internally than the simple spinning weights and cammed breaker, and needs to be made in a clean room semiconductor foundry, but it's got a lot less failure modes.
I can't produce a modern battery, but I'm sure there's folks on this forum that could wind their own motors and make their own controllers from discrete semiconductor components. You can probably make a lead-acid battery at home too.
It won't be a Zero, but then your homemade simple piston engine in your garage won't be a CBR engine either.