Artificial intelligence has become one of the biggest forces shaping financial markets, sending shares of chipmakers, cloud companies and…