https://moskowitzllp.com/californias-exit-tax-explained/
It's basically a wealth tax of 0.4% on assets above $30M, worldwide.
If you leave the state - pay all the taxes due, you are still responsible to pay that wealth tax for 10 years.
No distinction is made for assets acquired prior to moving to California. You could acquire wealth prior to moving to California, then as soon as you're a resident you have to pay it, and for 10 years after you leave.
What's going to happen is that people with that kind of wealth just won't move to California and people who might have that kind of wealth will make sure they leave before they trigger it.
It's a terrible law. Reminds me of places like New Jersey which did an amazing job chasing all their high-net worth people out of the state.