Precedent for tech being used to spare slavery

Economist have long pointed to tech as possibly the best hope. But remember the cotton gin saved slavery in the South when it was dying off, and that led to the US civil war.