Two rival AI approaches combine to let machines learn about the world like a child