Volkswagen AG VLKAY 0.33% will spend $340 million to manufacture a new sport-utility vehicle at a Tennessee assembly plant. The move is the latest in a string of investments planned by foreign auto makers in American factories that could help offset the pain of a potential trade war.