The foreign automakers are coming here for production because their labor costs are higher in their own countries than here, and this is also a large market for their output, thus when factoring in sourcing of raw material costs and freight, customs, and logistics costs, they choose the U.S. for certain models.
On a side note, I find Walmart to be a morally bankrupt company that in several cases in the last year has tried (sometimes successfully) taking people's private property via eminent domain so they can build a new Walmart (do a google on Alabaster, AL for a recent example). When they build a new super Walmart, the old Walmart empty buildings they leave behind are an eyesore to the community they serve. Fortunately, the smarter communities are now one step ahead of them on this and reigning in the build it and run from it real estate model.
http://209.157.64.200/focus/f-news/968577/posts