How to Prevent Stockouts in E-commerce Using AI Inventory Management