The actual issue here is train companies have cut staff down to almost nothing while simultaneously increasing train length to miles and miles. (And they are trying to cut staff even further).
A train with 2 miles worth of cargo and 2 people to defend it ends up being SUPER easy for a thief to target and rob. It takes an hour just for someone to figure out what's happening to the train.
What's the solution? How about the train companies employ more people, install more cameras, or shorten their trains? Or they can use their insurance to cover the cost of lost goods (as they are almost certainly already doing).
Train companies are trying to operate like the dollar general and are putting on surprised pikachu faces when they get robbed like a dollar general store. Almost certainly what they want to happen is the offloading of their security problems onto the public. We the public should not be subsidizing private monopolies because their bad business decisions make them particularly vulnerable to crime.
A company that earns 25 billion dollars of revenue a year can afford moving back to older business practices to avoid theft.