Canada has detected suspected AI-assisted cyberattacks on government networks, prompting investigations, security measures and warnings of temporary disruptions to public services.