As BMW car bodies glided down an assembly line in Munich recently, showered by sparks from robotic welders, it was…