Cybersecurity firms with AI capabilities are positioned for long-term growth as cyberattacks continue to intensify.