Chevron is relocating to Texas from California, where the business climate has soured for oil companies.