Optimizing Supply Chains with AI: From Demand Forecasting to Logistics