The Dow Jones hit a record 52,182.74 as Alphabet joined the index and semiconductor stocks surged on June 29.