Restaurants exist despite grocery stores selling ingredients. Thing is, I need to eat every day and food goes bad. Software that I need to use doesn't decay in the same way.
Star Trek Replicators need near-infinite energy sources to work, which we don't have. Frozen food still needs to come from somewhere. You still pay for Hot Pockets or Stoffers or Picards.