California-based nutrition company Herbalife has agreed to purchase a manufacturing facility in Winston Salem, North Carolina for $22.2m.