The History of Agentic AI: Symbolic AI to LLM Agents