SoftBank is selling its entire stake in Nvidia — but not for the reasons you might think.

Investors piled back into artificial intelligence names on Monday stateside. "AI-related stocks should drive equity markets," an analyst said.

The Japanese conglomerate said Tuesday it sold 32.1 million shares of Nvidia in October.