“Last mile” transportation — whether delivering packages from a warehouse or moving produce from farms to markets — is one of the most expensive and polluting segments of global supply chains.