Nigger, that's what shotgun slugs and armor piercing is for.
the machine will not miss, the machine will not need time to ascess you as a target, raise or get a gun and shoot you, it will do all that in a pico second.
the machine can do it from further away, with better target acquisition, heat or movement or noise detection many grades higher than anything you can do.
The problem has always been how to power the machine, and how to make the machine move, those questions have slowly begun to be answered, and thus meat soldiers will face a huge reckoning on the battlefield.
any anti-machine weapon you can bring or think of, can be outfitted better on another machine, people have to shit, piss and sleep, they miss, they leave the anti-w/e laying around, feet away... the machine will not, it cannot be overcome in any numbers that you'd find acceptable by people, only by overwhelming ordinance from other machines (simple or robotic).