AI in Cybersecurity: Revolutionizing Defense Against Emerging Threats