Google says attackers are using AI agents to automate more stages of cyberattacks, including scanning and credential theft.