German automakers had most at stake from Trump’s threatened trade penalties, analysts said. The former president often complained about the German cars’ presence on U.S. streets.