Amtrak is in the position it’s in because they don’t own most of the rails they use, and the freight railroads which do run very carefully optimized operations because they’re competing against the heavily-subsidized road system, not to mention how the lack of something like a carbon tax means that more polluting trucks don’t pay for the damage they do.
Putting taxes on the things we don’t want encourages use of alternatives. If we want to tackle climate change we should be taxing everything related to CO2 emissions, and using those proceeds to fund far less polluting transportation systems - especially trains which can easily be electrified & run on renewable power – is an important long-term step to reducing the CO2 footprint of things like manufacturing vehicles.