What artificial intelligence might teach us about the origin of human language