i thought it might be a corruption or diminutive of engine, but i couldn't think of any other examples.. Cotton gin is perfect! many of the machine that came out of the industrial revolution got called engines, (analytical engine for example).

Didn't we do a thread on motor vs engine (over a year ago.maybe even over 18 months ago) i don't remember cotton gin or spinning jenny coming up there.