Investment is flowing into and from the world's emerging markets, as two transactions involving US firms Smithfield Foods and McCormick & Co. highlighted last week.