None of those are mutually exclusive. The US has a great deal of heavily-automated manufacturing facilities. That's not expected to change. But nor does anybody expect the US to try and recreate the electronics supply chain domestically.
The parent comment's phrase "higher value stuff" is referring to higher-value Chinese exports. Focusing on electronics, for example, the majority of hard drives are produced in China and Thailand. And while Foxconn is building a $10bn display panel factory in Wisconsin, that's basically a drop in the bucket compared to electronics components manufactured in China and other Asian nations. More importantly, that display facility relies on a supply chain that's heavily dependent on Chinese (and Asian in general) components and raw materials. As are many of the components in the robots and hardware used by automated American factories.
It'd take a truly mind-boggling level of investment to recreate the industry supporting that supply chain in the United States with very little hope of being competitive if that's what someone is hoping for. And while protectionist policy could be used to help shift that analysis, it'd need to be draconian enough that the Smoot-Hawley Tariff Act of 1930 would look positively minor. Because building new factories (and the factories to support those factories) can take years, you wind up with a multi-year transition period at best (more realistically, decades). That's a multi-year period where electronic component costs skyrocket and affect every single aspect of the American economy. All so that, in the end, we can pay significantly higher prices for those components. In terms of economic policy, it'd be less damaging to take the equivalent investment, printing it out as cash, and using it for the world's largest bonfire.
As for the clothing industry, that's a transition that economists fully expected. The thing about developing countries is that--at first--you've got lots of cheap, unskilled labor. Clothing and textiles are two of the industries that are all but tailor-made for a comparative advantage in that scenario. You use that cheap labor and foreign investment to industrialize, build up infrastructure, and pour every dollar you can into education programs. Eventually, that means you're going to lose your comparative advantage in certain industries. This is a bit of a simplistic overview, but the point is that losing certain clothing exports isn't necessarily a bad thing in itself for China.