Microsoft co-founder Bill Gates warned Sunday that artificial intelligence could fuel a wave of cyberattacks over the next year.