Social media companies face thousands of lawsuits in federal and state courts brought by individuals, school districts, municipalities and other government entities alleging the companies knowingly sought to addict children to their platforms.