AI Transforming Cybersecurity: Threats and Defences