Agentic AI: How Large Language Models Are Shaping the Future of Autonomous Agents