For some reason this reminded me of the Ray Bradbury story, "The Town Where Noone Got Off" which is a dark little story indeed about two men and a small town on a railroad line. This one is a bit more positive. However, it turns out this whole incident was apparently due to the lack of a railroad crossing guard system of any kind at the intersection. The most basic system has flashing lights warning of oncoming train…
I can find you a dozen such crossings within an hour of my house. If you care to head into the properly rural part of any state, you'll find they're everywhere. There ought to be flashing lights and arms at every one, but no one wants to foot that bill. Was the truck actively crossing the tracks when it got hit or was it disabled? I haven't found any explanation of why it was there.
I don't think this is an infrastructure failing as much as it is a "Why would we need that?"