Infants outperform AI when it comes to motivations of others