Artificial intelligence has become a critical tool for combatting cyber threats.