Meta and Google have faced a landmark jury trial in Los Angeles over allegations they engineered social media platforms to addict young users' brains.