A general question: when someone says something offensive, the apology is often "We're sorry: we thought this was funny, but obviously it wasn't, so we've changed it." This seems to get universally condemned, and lots of people argue that it's wrong to say "I'm sorry you're offended." But what are the alternatives? I suppose they could have said that they were deliberately sexist and hoped to hurt people's feelings,…
The alternative is to realize why it was offensive instead of just that people got offended in some abstract sense that is unrelated to anything you can comprehend. For bonus points, further show enough empathy that you realize that what you said now offends you , too, culminating in some kind of "Damn, I don't know what I was thinking when I wrote that" apology.
Men like women. Men are, speaking factually, the extreme majority in the tech industry. Don't be shocked if your values don't match those of others.