You would think. But computer modeling for how long something will last has gotten really good. That's why things fail just outside of warranty more often these days. I'd guess that the starter motor itself could outlast the engine. But I'm sure there's some electronic component that will fail.
Like the module on the electric water pump on my previous car. $2K to replace, but it was under warranty. Guess they didn't model that one right LOL.
When I was young we would get a $2 Ford starter relay from the auto parts store and wire it in attached to a fender well or the firewall. That usually saved us $20 for a new starter and I don't think anyone who did this had to worry about it again.
I used to love working on cars when I was a kid back in the points and carburetors days. Still enjoy some mild modding, but modern cars are way more complicated. More time spent on a laptop than turning wrenches nowadays.