California Gov. Gavin Newsom has signed laws aimed at protecting children from the potential harms of social media and AI chatbots.