In the US, liberals / Democrats hate them because: Tech is the biggest reason behind the decline of existing publishing business model and people in those industries lean liberal, Tech's contribution to rising inequality (due to automation etc), very apparent gentrification by Tech workers in places like SF / NYC.
Conservatives / Republicans hate Tech because of its perceived liberal bias - see Facebook controversy in 2016 about suppression of Conservative topics, or Eric Schmidt campaigning for Hillary, or overwhelming majority of left-leaning people in these companies.
Apart from US, other countries (eg. EU) hates Tech because they are foreign companies who are blind to local cultural sensitivities (eg. privacy, right to be forgotten, free speech to a near-absolute degree), and also the reasons why US left hates Tech (see above).
Countries like China hate US Tech co's maybe because geopolitical reasons and CCP wants to nurture local Tech giants instead of rolling out a red carpet to American Tech.
American Tech giants should really be nervous.