In 1956, Milton Levine was at a Fourth of July picnic in Southern California and observed a mound of ants. Recalling how he as a child used to collect ants in jars, he came up with the idea of mass producing an ant habitat (called a formicarium) as a children’s toy. He trademarked the term “ant farm” and sold a 6 by 9 inch version for $1.98. It was an immediate hit.
The Animal Crossing ant farm actually looks more like this one from Anthouse that uses natural sand.