You’re right. There is no way rail can reach all the places stuff needs to go, when it needs to be there.
Here’s an interesting read on railroads and the history of rail.
https://erenow.net/common/illustrated-history-of-railway/48.php
Even though it’s now a bit player instead of the transportation King it once was there’s something about railroads that spur the imagination.