Social media firm alleges that the AI company unlawfully scraped millions of posts and comments from its platform.