That is OFTEN how US employment contracts work though... Perhaps not in CA, but the rest of the US...
Every employment contract I've been asked to sign has had some level of owning stuff I do off-hours (up to everything you do any time on your own computers, everything you've done in the past, etc...).
I've always pushed back and gotten it changed to meet my needs.