Food factories are FIFO, and you want FIFO dispensing, so I can only imagine the optimal solution is FIFO transport. I could readily imagine "magazines" for anything coming in cardboard boxes - spring or gravity fed, high-aspect ratio stacks in some kind of frame. Specially built container trucks which are easy to load with these "food mags". 6Axis robots to load them into the factory.
Spent mags get put into an empty trailer and sent back to the factory.
Loose bag items are trickier, but if you put those in reusable plastic totes, and put those in the mags, and automatically eject them into another mag, I think it would work well with the existing suction arm ones.