Etymology
Today it means: A (mechanical) device to perform a certain task. Full definition →
From contrive + -ance.
Etymology from Wiktionary, CC BY-SA 4.0.