Only a specific slice of American companies are moving factories out of China, much less returning home. Some, including electric-car builder Tesla, are even revving up their production engines on the mainland, despite U.S. President Donald Trump’s trade war aimed at bringing American manufacturing back. While nearly all companies in apparel and smartphones have moved, plan to move, or are considering moving at least part of their operations out of China, few companies in many other industries are doing so, according to a Goldman Sachs report released Friday. A majority of companies in semiconductor equipment and materials, as well as health care, are actually expanding Chinese production, the report said. In the auto and industrial machinery sectors, moving out of China and Chinese expansion are happening simultaneously, it noted. “While tariffs did cause rerouting of commodities trade and relocating of consumer electronics production from China to ASEAN countries, we have seen limited evidence of broad-based reshoring of manufacturing activity back to the U.S.,” the report said. Goldman researched the trends by surveying its own equity analysts in August about their sectors. Despite the fanfare and increasing political pressure around “China exits” — which has been on the rise thanks to the Sino-American trade war and the pandemic — the reality of supply chain shifts has been mixed and industry-specific. Tesla, now the world’s most valuable car company, plans to export China-built Model 3 cars to other markets in Asia and Europe, according to news reports Friday. Tesla CEO Elon Musk had told analysts in July that “the suppliers in China have been extremely competitive, possibly the most competitive in the world.” “The Shanghai factory is a pretty big factory. … It’s continuing to do more and more internally,” Musk said. What really helps is its ability to locally source components, which “makes a massive difference to the cost of the vehicle,” he said. Products like clothing and household goods can be easily produced elsewhere. Manufacturing that requires more sophisticated components, not so much. Tesla is far from alone in staying committed to China. Of more than 200 respondents that own or outsource manufacturing operations in China, 70.6% do not intend to shift production out of the Asian country in a survey published Wednesday by the American Chamber of Commerce in Shanghai. Just 3.7% are moving some production out of China to the U.S. or its territories as Trump had hoped his tariffs would make them. And of the companies that are moving some production out of China, just 18.2% intend to move more than 30% of it. Even for companies moving out of China, “rising labor costs are most usually the trigger,” according to Goldman’s research — a trend long predating the trade war. Although China is no longer as competitive as many other emerging economies for labor-intensive industries, its overall advantage in manufacturing remains intact. The common perception is that “the huge domestic market, complete industrial supply chains, and good infrastructure are most attractive to foreign manufacturing investments,” the report said, echoing Musk’s sentiments. “When asked about top locations for moving out of mainland China, Vietnam and India are the most mentioned destinations,” according to the investment bank. American companies’ reluctance to reshore shows how Trump’s aggressive stance on trade with China has done little to fulfill his pledge to bring manufacturing jobs back to the U.S. Nor has Trump’s hard line brought down the American trade deficit with the Asian country as promised. U.S. statistics put the second-quarter goods and services trade deficit with China at $75.8 billion — up from $74 billion in the same period in 2016, months before he took office. Sign up to our newsletters to get our best stories delivered straight to your inbox.