If you duplicate the spell at 6th or lower level, No.
This part of a wish spell does not create the effect, it duplicates a spell. As spells only do what they say, the only part of the spell that is not a direct duplicate are written into the wish spell description.
The basic use of this spell is to duplicate any other spell of 8th level or lower. You don't need to meet any requirements in that spell, including costly components. The spell simply takes effect.
So the requirements, including costly components, are no longer required. Everything else about the spell (including range, valid targets, spell level, duration, school of magic, etc.) would be directly duplicated.
But you CAN avoid the limited magic immunity by casting a lower level spell at a higher level even if it's description does not include an "if cast at a higher level" see here. So unless you are specifically trying to reduce the effectiveness of a spell by limiting the level of the duplicated spell, you can cast it at a level above 6th.