The tech hate is bipartisan, however the tech companies got lucky that the Republican choice for President happens to be distinctly corrupt and easy to buy off with money and flattery. Additionally, his feelings are so easily hurt that Congress, which otherwise might implement bi-partisan tech legislation, is afraid of offending him for fear of being targets of his lashing out, so they're just sitting on the sidelines rather than legislating.
This is a unique set of circumstances; given any other combination of parties in power, with any different President, and they'd be in the bullseye right now.