US President Donald Trump preempted Democrats taking over Congress by building a legal firewall and restricting corporate cooperation with lawmakers.