When people talk about artificial intelligence, they often talk as though humanity is standing at the edge of a cliff.