A Scalable Agentic Artificial Intelligence Architecture for Autonomous Decision-Making and Self-Optimization in Complex Cyber-Physical Systems