A restaurant only sells its own merchandise so this comparison does not make any sense.
The App Store is a 'store' in this case (it's in the name) and is the only store where you can buy items for your Apple home.
Imagine if Walmart sold homes and you could only put items in it that were bought at Walmart.