This is book one in the Bug's Life series. Flik invents different machines to help the ants work faster and more efficiently. However, his inventions are a flop until he combines them together to make one super-duper invention!
Hmmph! Someone invented ant with 4 legs. I can see no reason except ignorance or laziness for not showing them anatomically correct to that extent. And don't get me started about the feet coming out of the abdomen!