Two billion picks later, the San Antonio company has a useful lesson for anyone buying automation: plan for the package that confuses the machine.