A baby has fallen into a packing machine.