Brazilian meat giant JBS is to buy US cattle busines McElhaney Feedyard for US$24m.