Tech rally elevates Nasdaq to record high