Holding a black mirror up to artificial intelligence