JBS has promised legal action against Greenpeace after the campaign group accused the Brazilian meat giant of buying cattle from farms involved in illegal deforestation.