Megacap tech gains have powered the Nasdaq to a year-to-date gain of 33.5% and its first close north of 20,000 points.