A new study in Science journal finds that artificial intelligence can outperform doctors at diagnosing patients in emergency departments.