Retail media is becoming increasingly critical to one of the nation's largest grocery chains as Kroger reported its best retail media profit growth since 2021.