The lawsuit poses an "existential question" for the future of Meta's core business, after its share price had already been under pressure due to its spending on artificial intelligence.