 The "Oxford English Dictionary" defines it as "An indefinite name for a gadget or mechanical contrivance, esp.a small manufactured item" and dates this use back to 1931.It states that the origin is "perhaps U.S." and for etymology suggests that it may be a variant of "gadget".