Can't tell if you're joking or not, but in case you're not, here's an EU survey of rolling stock which says that it should last 25-30 years and represents only 1/5th of the cost of the rail network: https://www.europarl.europa.eu/RegData/etudes/STUD/2023/7472...