But in case of humans all this specialization is all in the brain. Robots are not going to have problems with uploading different brains for different specialization. You can probably try to make a specialized and dumb robot which makes t-shirts only. But I doubt it would be any good. t-shirts are much harder than welding car frames. T-shirt robot would have to be much "smarter" and will naturally be capable to do other kind of works.
I agree. Shipping is cheap but with full automation there would be no point in shipping anything other than raw materials like iron and stuff.
Of course there would. Shipping is cheap; robots are expensive. Expensive capital equipment (like robots) needs to be used as much as possible in order to pay for itself. A $90,000 dollar robot that turns $1 of materials into a $10 T-shirt needs to make 10,000 T-shirts before it starts making a profit. Having one in your home is pointless - you don't need 10,000 T-shirts. Having one in your town or city might make a small profit. Having one producing T-shirts for the entire USA will make a much larger profit; and having one that makes T-Shirts for the whole world will make a humongous profit.
A robot that can make T-shirts only is going to be cheaper than one that can make T-shirts and jeans. Sure, you could even make a robot with general purpose limbs and manipulators that can make any kind of clothing, or even do other tasks, but that just adds to the cost. it is far cheaper (per item produced) to build a specialist robot that makes T-shirts only; and a second specialist robot that makes jeans only, than it is to build a robot that can do both, and that switches between the two jobs - as long as there is enough demand so that the two machines never have an idle moment.
And with cheap transportation, and a world population in the billions, specialisation will ALWAYS beat generalisation.
In WWII, car factories were converted to make tanks, or aircraft. That change was possible, because all three products require similar machinery and skills to make. But each plant switched from cars EITHER to tanks, OR to aircraft; because making both tanks and aircraft in the same factory is inefficient. It's better, cheaper, faster more efficient to make one thing, over and over again, using specialised plant where possible, than it is to make lots of different products using multi-purpose plant.
The ONLY situation where the flexibility to make lots of different products is useful is when demand for your product falls short of supply, to the point where your factory/machine/robot sits idle; which can only happen in situations such as prototyping, where the total number of products required worldwide is very small; or where the cost of transportation to global markets is so high that only local demand is worth filling.
If one person in a thousand wants your product; and even those people only buy one a year, that's still seven million units per annum required worldwide. Why waste money on a multi-purpose robot/factory/machine, if both it and a cheaper single-purpose robot/factory/machine can churn only out 100 units an hour? You need seven or eight cheaper single-purpose machines for that task; using seven or eight more expensive multi-purpose robots for the job is a waste, as they will never need to do anything other than make that one product, to keep up with demand.
In fact, you have it exactly backwards; Shipping inexpensive commodity raw materials is the last thing you want to do, because the proportion of the cost to the buyer that is transportation is a larger proportion of the total. All else being equal, goods should be made close to the supply of raw materials, and then the finished goods shipped to markets worldwide. If you can make 1,000 widgets, with a total weight of 900kg from a tonne of iron (10% goes to scrap, and can be fed back in to the start of the process, or maybe it just gets wasted), it is very obvious that it is 10% cheaper to ship widgets than it is to ship the iron needed to make them. Putting the factory next to the iron works is a better choice than putting the factory next door to the customer.