the federal government can step in and nationalize the railroad at any point as it has done in the past (woodrow wilson era iirc)
Look at Steven Donzinger. He reported on toxic spills by Chevron in Nicaragua that poisoned indigenous water supplies. Chevron hired a private prosecutor and found a judge in their favor to force him into house arrest(for over a year) for not supplying a document.
Large corporations have the cards stacked in their favor.
The nationalization of railroads under Wilson lasted from December 1917 to March 1920. During this time, operation (including expansion and maintenance) of all railroads was organized by the federal government. When the nationalization was repealed in 1920, the US paid rail companies for lost profits.