Russia, China, Iran and North Korea are using artificial intelligence to improve their cyberattacks on U.S. companies, governments and individuals, according to new research from Microsoft.