When robots learn to reason before moving, the line between artificial intelligence and human-like agency begins to blur.