How does Wish work with spells that interact with material components?

How does wish work with spells that interact with material components?

For example, how does wish work with a spell like leomund’s secret chest? Do an exquisite chest and small chest just appear with the wish? Or do you need them?

Wish says it doesn’t need any expensive components to cast, but things are a bit unclear here.