Meta's $1.4 trillion legal risk collides with $145 billion AI bet