Artificial intelligence is becoming better than humans at scanning animals’ faces for signs of stress and pain. Are more complex emotions next?