Firstly I should point out that an industrial robot is not a human looky-likey (for those who envisage a little android creature with eyes and a mouth) and they are mostly used to do the jobs that are deemed NOT SAFE for a human to do. Those jobs that (back in the days of milk and honey) men did at massive cost to their health and wellbeing. Things like industrial welding using dangerous flames and fumes, spray painting again using dangerous chemicals, lifting, pushing, shoving, pressing and repetitive tasks, bomb detection, underwater exploration, disaster response etc.
Am I right in saying that there are people who would prefer that men and women still did these jobs? 
Also a robot or an automation process does not build or program itself (they are not born from little robot eggs fully capable of spray paining or whatever).