I saw a similar thing at a Mars chocolate factory in the 1990s: a lone worker with a conveyor belt of chocolate bars to one side, and a robot opening up boxes to the other. The worker was grabbing handfuls of chocolate bars and filling up the box that had been presented to him. When full, the box would head of down another conveyor belt and be automatically stacked on a palette ready for shipping.
Long-since automated I suspect, but at that point in time I presume that the human was cheaper and more reliable than the equivalent robot.
Aside: the equivalent job on the M&Ms production line _was_ being done by a robot, and required the packets of M&Ms to be neatly lined up in their boxes.