The bill could set a nationwide standard for how chatbots interact with kids. But Newsom still needs to sign it.