From energy grids to language performance, emerging economies are exposing the limits of today’s artificial-intelligence strategy as it expands globally.