Electric trains can ship overland cheaper than diesel trucks. If we'd put half the money we put into free/subsidised highways into rail instead, the problem would already be solved.
The last mile could be fairly easily electrified at this point, battery trucks are quite sensible for short distances.