Indeed, that, if anything, is exactly the kind of investments that a government should be making.
The government well made its money back before the great railway crash.
Let's say the Internet suffers a crash in a few decades. Few would argue that any previous investment into the Internet was not worth it.
AFAIK, passenger trains have priority. However, if the passenger company rents a specific timeslot from the railway and isn't on time, it isn't surprising if there is traffic along the way.
And high speed trains usually require dedicated tracks to operate at full speed anyways.
http://www.sfgate.com/opinion/article/Amtrak-has-priority-ov...
I've experienced these delays many times riding the California Zephyr, and the conductors always say something about the freight trains having priority. According to the article this is because Amtrak is persistently ceding priority, despite federal regulations prioritizing passenger trains.
edit: According to the WaPo article linked by jey in this thread, this ended up overturned in federal court, so I guess as of 2017, freight does have priority over passenger trains in the U.S.
Without changing this, high-speed rail in the US will never be a reality without building an entirely separate rail network.