The market also benefited from strength for stocks caught up in the artificial-intelligence frenzy. Alphabet, which has been ...