Even some airliners are affected.
Train have three main advantages:
1- Trains with steel wheels on steel rails, with low friction, are fuel efficient.
2- Some trains use hydro-electricity rather than diesel.
3- Trains can carry lorries on piggyback.
Q: How does the efficiency of Diesel compared to Petrol?
4- Gas, Ammonia, and Hydrogen are being investigated as alternative fuels
5. Supply streams for rail use are short and mostly under direct control of the railway.