It lit up a swath of stocks tied to artificial intelligence (AI) infrastructure, from server makers to enterprise software.