A sweeping history of and meditation on humanity's relationship with machines, showing how we got here and what happens next