"He eats a lot of sweets like every child." 'Every child' means the total number of all children.
"He eats a lot of sweets like any child." 'Any child' can mean 1 child or 5 children or all children. 'Any' is an uncertain amount of something. 'Every' is the total amount of something.
For example: "Is there any rooms available this evening?" 'Any' meaning a small number of rooms.
"Yes every room is available this evening" 'Every' meaning the total number of rooms in the hotel are available/empty.
I hope this helps! :)