Why ? What do you mean ?
I don't own the tracks, so I have to rent from freight Railways who refuse to electrify their infrastructure because that costs money and lowers profit
Wouldn't it save them money in the long run?
Yes, it would, but capital investment is the most terrifying thing to stockholders