The lawsuit comes amid growing concerns about how AI fuels the spread of misinformation.