The MTA is a huge outlier but still gets less money for upgrades and upkeep than they need. They limped along for years on extremely outdated train tracking infrastructure and are just getting around to doing updates that needed to be started two decades ago.