Apple gave it a try with the low volume high margin MacPro Texas factory. IMO the cause of this shift is not the factory, workers, 'high' wages et al rather that supply chains in China, in east Asia entire for that matter, can scale up and down faster than in the west, in the US in this instance.
These days factories in the US primary do component assembly. In Asia/China they also manufacture all the bits and pieces that go into components that go into products, the manufacturing foundation that the US (and much of the west) has lost over the past 50 years.
When folks, politicians especially, yabber about reinvigorating manufacturing I ROFLMAO because entire infrastructures have been lost and would take one to two generations to rebuild, just as it took for Japan after WW2 and China lately. The US (west generally) is not interested in long term investment especially not generational.
......
Until right to repair regulation is mandated there is no incentive for companies to allow repair - it raises potential liability and diminishes replacement sales (and product lockin). Apple, among others, has lobbied against every state right to repair proposal. What is funny is that right to repair may win because of farmers raging against John Deere; although I expect there will eventually simply be a farm exemption and the rest of us will be left buying new electronics indefinitely.