I presume the costs to convert enough of our existing rail networks to support electric trains (in the US) would be extremely high, especially considering so much of the freight rail network is owned by a few companies.
Freight rail seems like a great use case for large scale wireless charging in certain areas... have "rest stops" every X miles on key lines where trains can automatically charge up in the middle of a haul.
Im sure they could also take advantage of induction braking on the downhill section of mountain passes.