AI in Cybersecurity: How Attackers and Defenders Are Using Automation