Non competes prevent an employer to forbid you to work for competitor after you leave (or they fire you). Non competes are non enforceable in CA.
IP assignments (i.e. "what you do belong to us") is very much enforceable and very common.
How it's enforced depends on the company, but by default the employer can claim ownership if you do your work on their time or using their resources (e.g. on a company's laptop).
And they can drag you through courts even if it's all your time and your resources.
If you work for Apple, you better not do any non-Apple work. At Google you can do open source work but you have to get a permission.
So as far as IP assignment, CA is no different than TX.
Not true. By law, the work you create in CA on your own time on your own equipment cannot be claimed by the employer.
That's part of what creates Silicon Valley: you moonlight on your startup while working full time until you're ready to take off.
The text from this section is always present in any CA employment contract: https://california.public.law/codes/ca_lab_code_section_2870
Now, sure, there is the gray area introduced by clause a.1. "relate" but as long as you can steer clear of that the law is quite straightforward.
Apple may have tons of lawyers and AFAIK is not a very employee-friendly place, but they shouldn't be above the law.
I know California can can claim ownership if you do work on their time or using their resources. In other states the scope seems even wider. I should probably look into it more.
As long as they don't use the employer's equipment nor work that they do for the employer or compete with the employer, they can own their own work. This is one of the key legal reasons CA spawns so many startups.