Nasdaq hits record high as factory activity scales new peak