I'm pretty sure our ancient ancestors knew enough to threw their meat on a fire.
Bacterial contamination on meat is widespread, but mainly on the surface of meat. That's why you can eat charbroiled beef rare. Grinding meat spreads the contamination throughout. That's why it's important to cook hamburger to at least 160 degrees F.
Food Safety