Automatic feeding or moving of electrodes or work for spot or seam welding or cutting