As American shoppers continue to order goods online, logistics firms are taking ‘middle mile’ delivery shipments off the road and turning to a mode of transportation that helped shape the United States economy during the original Industrial Revolution: railroads.