Micron Technology’s strong performance helped push US equity markets to record highs amid optimism on the semiconductor cycle and AI demand.