A Comparative Survey of Security Risks in AI Systems: From LLMs to AI Agents and Embodied Agents | AI Sec Watch