As they seek to close the labor gap and use automation to increase productivity, manufacturers are leaning into technology.