The big AI platforms are emerging as early warning systems, detecting nation-state hackers at the very start of campaigns.