U.S. President Donald Trump has long targeted big tech companies like Amazon, Google, Facebook and Twitter in his social media comments, accusing them of working against him and his administration.