Wall Street is emerging as one of the biggest financial winners of the global artificial intelligence (AI) boom.