AI system resorts to blackmail if told it will be removed