Engineers at the company DeepMind built a machine-learning system based on research on how babies’ brain works, and it did better on certain tasks than its conventional counterparts.