Louis Rossmann discussed this in a video recently: https://youtu.be/vt_3OLs_lXE
Also, I would add that customers and stores are like a symbiotic population ecosystem. You kill one, you kill the other.
And then as people shift to nearly permanent WfH and the buildings go vacant, the restaurants become redundant too.
Also, pandemic or not, commercial landlords charging $200-300+ sq ft compared to $50 are repeatedly murdering whatever foolish business moves in.
It'S nOoOoOt LyYyInG, iT's CoMmMmMmErCiAl ReEeAl EsTaAaTeEeEe.