From Automation to Intelligence: The Evolution of ERP with AI