does that mean that investment is fundamentally beholden to market inefficiency?
While it may be efficient from the perspective of a spreadsheet, its inefficient due to the external costs, ie pollution from shipping, the delicate nature of just-in-time shipments, etc.
Your fruit cup might cost a bit more if it was to be done all in one place, but I would call that a cost for a less fragile system.