While I can not speak to any other state. I know that here in Genesee County and I believe all of Michigan they automatically hand count selected precincts and compare the machine count to the hand count.
Any tampering with the machine and they hand count 'em all.