that's surprising and I guess you're relatively young and don't have kids because I've actually still heard it sung by kids in kindergarden. There's also Bach's coffee Cantata in a similar vein, and quite a lot of fiction dictated to the allegedly detrimental effects of drinking coffee.
And sadly often a lot of it is tied to the image of the "sickly Turk" which is a popular stereotype attached to most things imported from 'oriental' cultures. You may remember debates about the hookah craze a decade ago or so.