I did some napkin math on this as I recently picked up a 3D Printer and wondered the environmental comparison to print-at-home vs pick something up at the store and I was surprised. Had some help from Claude but "last mile delivery" is absolutely where the majority of the kWh is burned in the supply chain.
Container ships use ~0.015 kWh per ton-km[1] and a car is ~1.35 kWh/km.
If you go to the store and end up getting >10 things it becomes "worth it" from an energy standpoint. Anything less printing at home seemed to be more economical... Not an expert though just saying it opened my eyes to how inefficient "last mile delivery" energy consumption is.
[1] https://www.withouthotair.com/c15/page_95.shtml (old reference)