Smithfield Foods has completed the sale of its domestic beef operations to Brazil's JBS.