SaaS used to rely on enterprise subscriptions. Now, AI threatens this business model.