There is a trend of multinational companies like Samsung or Intel move their production to Vietnam to reduce risks of suffering from export controls from the United States since 2018.

COVID-19 Outbreaks in VietNam Hinders the Trend of Companies Leaving China to Build New Production Bases
Since 2018, Donald Trump launched the trade war against China, ever since there is a trend of multinational companies like Samsung or Intel move their production to Vietnam to reduce risks of suffering from export controls from the United States.
China is experiencing an exodus of foreign firms despite surveys and published opinions from commerce lobby groups and business consultants in the country which suggest otherwise. 
Moreover, the pace of companies leaving China is accelerating, causing a “ripple effect” that threatens Covid-19 economic recovery. The exit also presents a challenge to President Xi Jinping’s “dual circulation” plans, which aim to reduce China’s dependence on foreign markets by increasing domestic consumption. Consequently, Chinese officials are scrambling to slow it down.
In November 2020, the American Chamber of Commerce in Shanghai (AmCham) released its annual China Business Report, which published the results of a survey of 346 of its members, highlighting findings that 71 percent of manufacturer respondents indicated “they will not shift production out of China” as evidence that foreign “[c]ompanies remain committed to the China market.” Actually many big companies have really moved the production out of China. 
But the latest Covid-19 pandemic surge recently has somehow reverse that trend. According to the recent article published by Nikkei, recent outbreaks of COVID-19 are disrupting plans by Apple, Google, Amazon and their key suppliers to shift production from China to Vietnam as governments tighten border controls to contain outbreaks of new variants of the virus.
Google's upcoming Pixel 6 smartphone range will be built in China even though the company had planned to move production of the handsets to northern Vietnam early last year, four people familiar with the matter said to Nikkei. 
Like the Pixel 5 range last year, the new phones will be assembled in the city of Shenzhen due to limited engineering resources in Vietnam and intermittent travel restrictions, the people said.
Apple, meanwhile, will start mass-producing its latest AirPods earphones in China instead of in Vietnam as previously planned, two people familiar with the situation said. The company still hopes to move around 20% of new AirPods production to Vietnam later, they said. 
AirPods -- both entry-level and high-end models -- were among the earliest products that Apple began making in significant amounts in Vietnam, having moved production there around two years ago during the height of U.S.-China trade tensions.
Apple's plan to bring some MacBook and iPad production to Vietnam has also been put on hold due to a lack of engineering resources, an incomplete notebook computer supply chain and the dynamic COVID situation, one of the people said.
Production of smart doorbells, security cameras and smart speakers for Amazon, which recently moved to Vietnam, has also faced delays since May as assembly lines in the northern part of the country coped with a surge in local cases and tougher COVID prevention measures, two people with direct knowledge of the matter said.
Thanks to its young labor force and proximity to China, Vietnam was well placed to attract tech manufacturers when Washington began imposing punitive tariffs on Chinese-made goods in 2018. Suppliers of Apple, Google, Amazon, Microsoft and Dell have set up or expanded factories in the country over the past few years.
Building a new regional supply chain, however, also requires experienced engineers and training for local workers. Both China and Vietnam have adopted stricter border control measures this year, which has slowed the production shift between the two countries, a supply chain executive serving Apple and Google told Nikkei Asia.