AI-powered automated packaging systems use sensors and machine vision to create cartons and mailers that closely fit each order.