Ducks and bucks are close enough that one can be mistaken for the other. But pianist and penis ? Not sure.. unless the genie’s hearing was really bad.
It’s a joke. Don’t over think it. :)
Some people pronounce it pee-en-ist.
I heard it before with a 12” prick.
It’s ok to say you pricked your finger but not ok to say you fingered your prick.
Old Carlin line...
“But pianist and penis ?”
My mother called our dog “Liberace”, he was the “peeinest” dog she ever saw.
A million bucks won’t get you far.