AI-driven cybersecurity spending is surging as firms defend against new threats, boosting outlooks for software sector and digital defense investments.