Smithfield Foods is to sell just under 5% of its business to Chinese agricultural trading and processing company COFCO Limited.