There is an incorrect assumption that large corporations are fleeing our state in droves. A few are moving their headquarters out of California (I would guess because our taxes are rather high), but continue to have major facilities in our state (read: Tesla).
But what about Energy Companies? After graduation, I started my career with Rockwell Atomics International in Southern California. After a couple of years I moved to GE Nuclear near Livermore, CA. Both of these were major energy companies, and still participate in this sector. GE moved most of its nuclear business to the east coast as part of a consolidation two or three decades ago. Also we are creating a new type of Energy Company in California, the Energy Company of the future.