A lawsuit in California accuses Linkedin of using private messages on its platform to train AI models, according to the BBC.