US equities hit record high as tech stocks make gains