AI system resorts to blackmail if told it will be removed

In a fictional scenario, the model was willing to expose that the engineer seeking to replace it was having an affair.