I was suddenly struck with a memory of a Bugs Bunny book I read as a child (I probably read it in the 1980 to 1990 time frame, but I'm pretty sure it was a book that had been in the house for longer than that). Bugs had a machine that had a crank on the side, and turning the crank generated carrots. I think he had to feed something else in the hopper at the top, although I don't recall what, and what he fed into it influenced the carrots (what sticks in my head is the carrots being blue, or cubical, which later made me think it might have been a "square root" joke for the adults).
I don't recall where he got the machine. I think it wound up breaking down due to him either using it too much or trying to jam too much stuff in the hopper.