The domestic vs. offshore production calculus is actually closer than a lot of people realize, in many instances. Often it's a choice between a highly-automated and capital-intensive production process in the US, vs. a manual process at a contractor in China. The combination of higher shipping and very low cost of capital in the US is a pretty good one.
Whenever someone tells you that it's impossible for the US to rebuild its manufacturing base, go take a look at factories in China: they're not that old (esp. the light industrial stuff). What was built in China in 20 years could be built in the US in the same amount of time or less, if the economic case was there. There's nothing magic about China, it's just a place where labor happened to be cheap at one point in time.