In an unprecedented crackdown, Britain's biggest force secretly unleashed the AI tool to root out bad behaviour.