AI-driven inventory optimization