Long used mostly for the “dull, dirty and dangerous” tasks in manufacturing, robots are increasingly considered “desirable” amid rising labor costs and shortages, strike risks and the need for flexibility in navigating the bumpy electric vehicle transition.