Originally the machines were to have enslaved humanity for our processing ability, but they weren't sure how salient the concept would be to the average 90s viewer, so they changed it to the goofy electricity generation. Perhaps its is all that remains of a short lived milking rewrite.
Comments