Leaders in artificial intelligence have called for a slowdown to AI development amid fears the technology could lead to human extinction.