FRANKFURT— More factories are installing robots to improve productivity, boost quality and address severe labor shortages.