Generative to Agentic: The Legal Ethics of AI Evolution