The threat to SaaS is moreso consolidation than AI. Since people value convenience more than anything, having more functionality in one service rather than multiple services will win. For example GitHub integrating more and more code scanning/security functionality rather than having a separate service like Snyk for that.