The Oxford English Dictionary says the term boob tube originated in the mid 20th Century.
It derives from the verb boob (mid 20th), meaning a foolish mistake. This itself came from the noun booby (early 17th), which meant a silly, stupid or childish person.
So the context is the term implies that fools watch television.