A rally in chipmakers sent stocks to all-time highs as Advanced Micro Devices Inc.’s deal with OpenAI added fuel to the ...