Supply chains have become ridiculously complex, though. Like 20 years ago a cell phone manufacturer talked about how just about every piece of a phone was ultimately shipped back and forth across the Pacific about 6 times before being sold in the final product. As raw materials, as base components, as more complex components built from others, after branding, packaging, etc. And although perhaps more and more manufacturing has moved into Asia, I doubt the complexity has decreased or that any particular mind to this kind of waste has been designed into our system generally.
I'm sure there are things to fix about the container ships themselves, as others have pointed out. But another solution is simply to use them MUCH LESS!