Vance also took aim at foreign governments for “tightening the screws” on U.S. tech firms, saying such moves were troubling.