So now we're at "who needs 'em"?
By the time the 'Transcontinental Railroad' was completed (1869) railroads had already contributed greatly to the war effort on both sides.
Cars/trucks would be decades away, and paved roads connecting cities decades more. It would be nearly a century before Eisenhower's 'American Autobahn', jet-powered air passenger travel, and 'air freight' would dethrone rail as America's prime mover.
By contrast, radio was like our high-speed internet/cable and 5G for ~20 yrs, a far shorter time, before TV raided its audience.
btw, a rail line going through multiple cities, townships, counties, or states had to keep their ROWs open to remain viable. Once a segment was/is closed or sold the rest would be tough to ever revive. (can you say "The Depression? .. WWII?, .. WWI??

)