Meta faces mounting legal losses over AI safety and transparency practices.