In the section on genies in the Monster Manual (p. 141), it says that noble genies can grant wishes. The "Variant: Genie Powers" sidebar (p. 144) details this variant rule, but doesn't mention anything about wish's side effects on the caster.
In accordance with legends, and the way that the text describes it, surely these genies aren’t risking losing the ability to cast the wish spell every time they grant a wish, right? Or else, why would a genie ever agree to grant a wish (unless they only ever duplicated the effect of an 8th-level spell or below)?