Artificial intelligence can cause tremendous harm because it can be both comically defective and dispassionately amoral.