Google Drive for Desktop is adding AI-powered ransomware detection to automatically stop file syncing and allow users to easily restore files in a few clicks, an official blog said.