Well, if we're getting our etymology on, 'engine' originally referred to any trick, device, or machine. An engineer was someone who created engines. It only took on the association with steam locomotives in the 1800s.
I would also like point out that early computers were also known as analytic engines.