how ai reduces manufacturing waste