The all-knowing WIKIPEDIA has this to say:
The original widget was patented in the UK by Guinness. The word “widget” as applied to this device is a trademark of the Guinness brewery.
It seems that all great things start and end with the same thing – beer. For more fun information check out this article.