Costco is gaining more grocery spending as shoppers consolidate purchases amid tighter household budgets and ongoing value pressure.