Democrats' midterm election sweep have sent shares in US tech giants soaring.