Your history is wrong. We had begun industrializing about 100 years before trucks were invented and more like 160 before they really became dominant.
And are you literally arguing that building rail is more cost prohibitive, time consuming, and inflexible than building roads? Like actually? Unironically? I'm sorry, buddy, but when you start getting into numbers, that's my territory and you're out of your depth. https://alankandel.scienceblog.com/2014/01/11/rails-vs-roads-for-value-utilization-emissions-savings-difference-like-night-and-day/
If only we properly invested in history education in this country. Then maybe people wouldn't be embarrassing themselves by making arguments like yours.
All of those are phenomenal arguments for heavily reinvesting in our freight rail.