> Then build railway systems
Unfortunately those aren't made at McDonald's or at any other fast service establishment. In other words they are neither fast nor cheap to build.
If we exclude local commute, the US has a pretty good transportation system, as it is, road transport is indispensable in this mix, at least for now. It would make more sense to convert cars to EV's and use the saved fuel for trucks than to redo the transportation system.