The San Antonio refiner landed at No. 23 as energy companies dominated Fortune magazine’s latest annual ranking. More were HQ'd in Texas than any other state.