For years, SaaS has enjoyed a comfortable position, but Agentic AI is changing that.