The broad S&P 500 index rose 0.6 percent, Nasdaq's technology-heavy composite index climbed 1.2 percent, and the Dow Jones industrial index fell 0.1 percent.
Chip manufacturer Nvidia, one of the AI-related companies that critics consider overvalued, rose 3.4 percent. Search giant Google's parent company, Alphabet, rose 2.5 percent.
Microsoft's vice president Brad Smith said in a speech on Friday that the software company plans to invest approximately 80 billion dollars, equivalent to 884 billion kronor, in data centers where AI models will be tested and trained during the current fiscal year. The company's share rose 1.1 percent.
The share in US Steel surged 8.2 percent after the steel giant and Nippon Steel jointly sued the US government for preventing the Japanese competitor from buying US Steel.