Those are only combat things. Stop focusing your entire game on combat, and it becomes much more of an issue.
Yes the Wizard is probably the most effective character class out of combat. No issues with that at all. How many times has a player come to you and said he felt useless because the Wizard's Knowledge History skill is so high? Or to bring it back to combat, how many times has a player come up to you as a GM and said he felt useless because the Wizard keeps casting Haste and Enlarge on him?
Component costs aren't an issue for most spells, as a spell component pouch alone is completely trivial and doesn't have a limitation on its uses. There's very little reason not to keep two or three on you at any one time.
Just like ammo costs aren't an issue.
The gunslinger can spend three rounds disarming spell component pouches in order to force a wizard to spend a move action to pick one up in the next round before they cast. Luckily they have both a standard and move action.
Same thing applies to holy symbols.
Right, except look above, your wizard memorized Sleep, that's a full round cast, guess who's screwed? Holy Symbols? Maybe, hope that cleric isn't in melee range though.
Very few games tend to actually have more encounters than a wizard has spells, and even at low levels, each one is powerful enough to be encounter ending.
Very few GM's cater their encounters to a Wizard's spell list, and the second part of your statement is ridiculously false. Sleep and Color Spray are both negated by a Will Save, a CR 1/2 Skeleton. That leaves their Arcane Bond, how they stretch 1 spell over 3 encounters would be a trick I'd really like to see.
Once they reach the mid-levels, they have enough to almost certainly run out, and wizards have a multitude of ways to work around the issue of not having the right spells memorised for niche situations in fast study, a bonded object, and memorising special circumstance spells, and using greater spell specialization, preferred spell, or spellbinder to trade them for a more generally useful one.
Again, you're absolutely right, in theory they look ridiculously powerful with a spell for every occasion. In actual play however, you RARELY get complaints about the Wizard overshadowing everyone. The same cannot be said about Gunslingers.