Google and Facebook typically work by allowing advertisers to pick customer traits, and then Google/Facebook shows ads based on their knowledge of who fits those traits. It looks like the definition of sale[1] means companies must actually transfer the consumers info for them to count as a data broker. This means Google and Facebook likely don't have to register.
Their lobbyists did their jobs, I suppose.
[1] https://leginfo.legislature.ca.gov/faces/codes_displaySectio....