AI logistics for inventory control