Some of this may be due to the economies of Germany and the UK really shouldn't be compared to California in the first place. Maybe in someone's uneducated mind, German or the UK are world powerhouses, but they are not. Alabama has a higher per capita GPD than the UK. But then Ireland has a higher per capita GPD than California.
Some of it may also be due to the fact that Germany and the UK are getting slammed even harder than we are due to the energy crisis, war, and Brexit, and inflation.
California is keeping the motor running pretty warm by running up the debt on the credit card. Per capita debt in California is slightly more than double what it is in Texas.
In the end, California is, as mentioned, still doing quite well. It's blessed with location, climate, and the fact that it's heightened government spending encourages some businesses and residents. If you're in education, healthcare, tech, or the military, why not be in California? The only thing California lacks is an SEC school.
The one thing California has going against it is population growth. As more and more residents leave, the debt burden will continue to fall on to a smaller and smaller portion of the residents of California and will eventually become untenable if the population loss continues. Meanwhile, Texas continues to gain population.
For all it's progressiveness, economic or otherwise, California is a place where it is wonderful to live in if you have lots of money or have very little money. It's losing it's middle and working class while continuing to attract upper class. In no small part due to hosing costs due to NIMBYs. California's economy continues to grow because the people moving to California make more money than the people leaving it.
I don't think the economy of California is going anywhere. It has too much going for it. But the future will look different for California than it has in the past, as it transitions into a second bastion of wealth and elites in America. I mean, it really already is. But in the past it had growth going for it. It won't anymore. The future of California will depend on wealth creation and it's distribution.