Artificial Intelligence and Cybersecurity: A Double-Edged Sword