The scene at the farm parodies a scene in which Luke realizes Stormtroopers have attacked his home, as it's in ruins and no living thing survived. Jimmy's line before he starts running to the farm mirrors Luke's line, the line in Star Wars being "If they traced the robots here, they may have learned who they sold them to and that would lead them back... home!", and Jimmy's line being "Just outside of the town of Plainville, to a local farming community. But that means they would lead back... home!"
The giant worm is based on the creatures known as Graboids, which also live underground and track their prey via seismic activity (vibrations through the ground).