My first wife got a baby shower, family and close friends only, and women only. She specifically asked for basic stuff only (diapers, diaper bag, neutral onesies, baby cap, binkies, that kind of stuff. We didn't want to know gender and the medical folks honored that.
The next two were with Mrs. Bad Example, but we got them as teens so no real surprises. She had always wanted an orphanage and that's what we got. The latest is our 16 year old granddaughter.
Things do seem to have changed, though. A coworker held an everyone invited "Expecting Parents Celebration" at BJ's, then an everyone invited Baby Shower with some pretty extravagant gifts, then an everyone invited Gender Reveal Party...not to mention an Amazon Gift Registry. By the time it was announced (by cake; no confetti, balloons, or Tannerite) and everyone was clapping I seriously had to restrain myself from shouting out "It's okay dude, you'll get it right next time!" It all seemed a bit mercenary to me, as both parents made plenty of money, far more than many of the guests.
Then again, I was raised in the era where you just cared if the kid was healthy and that the mother recovered without complications. Gender was none of our business.
On top of it all the traditional binary is by no means a guarantee. One of my toughest, very outwardly masculine nephews is now a happy niece. Took my family by surprise but even the elderly grandmothers rolled with it.
.