California has three industries: Entertainment, Silicon Valley, and agriculture.
With that written, the entertainment industry is moving out of California. Due to lack of rain over the past decade and lack of irrigation their agriculture industry has been reduced to half of what it was. So that leaves Silicon Valley or the tech industry.
Even if California's economy is the sixth largest in the world, they would not be able to survive on their own.