But twenty years for a train seems very low. My daily driver is 12 years old, I thrash it every morning and never gives me problems. I live in the snowbelt.
By comparison a train is vastly over-engineered and has an electric drive train. Sure stuff will need replacing but a train should last 40 years at least