Humans versus artificial intelligence