The artificial intelligence trade helped power stocks to all-time highs last week following “Magnificent Seven” earnings.