SaaS stocks tumble 30% as AI agents force industry reinvention