The verdict, which caps a weekslong trial in Los Angeles, could set a legal precedent for similar allegations brought against social media companies.