The ongoing fighting between the US, Israel and Iran could lead to a pullback in tech spending this year, the research firm says. But investments in AI and cybersecurity are unlikely to be cut.