This is mostly symbolic so far as Tesla doesn’t even have the factory ready.
Elon has options to exercise in Q4 before they expire, which will realize a substantial capital gain.
By moving both personally and his business to Texas, he is likely avoiding California state income tax and capital gains, since Texas has neither.
I’d say that’s bad faith, given how much California has subsidized his companies.