Texas has officially dethroned California as the state with the most Fortune 500 companies headquartered there.