I have no problem with sexualising and objectifying men and women to titillate the audience - there is absolutely nothing wrong with this whether or not it 'serves the plot' whatever that means. Heck, I don't have a problem with straight-up porn and think society's attitudes towards it is pretty repressive in general.
That being said, when you do something like that you are basically saying, 'we're not that bothered about the female audience,' which again is fine. There's no reason that every film needs to cater to men and women in equal proportions and there are plenty of movies that are basically unwatchable for straight men, so if you want to make a film pandering to male nerds, go for it.
But I actually don't think this is that film. I really don't. Let's not confuse Star Trek the television series for male nerds with Star Trek the movie starring Chris Pine, Benedict Cumberbatch and Zachary Quinto, the Hollywood movie for young people. These male actors do have pretty huge female followings, especially Cumberbatch. Honestly, if they were going to do the fan service thing it's a coin flip whether that means, er, 'servicing' the male fans or the female ones.
So maybe either include a few scenes for the chicks as well or just give the whole thing a wide berth for everyone's sake.
Having said THAT, I also think that generally speaking everyone needs to grow some thicker skin. Whatever your goals are, getting offended doesn't help you achieve them.
And finally, having said various other conflicting things, I should also add that the scene was pretty crap and made me laugh when I watched it. The pretext was just so flimsy that it actually did affect the integrity of the narrative. It was like, 'OK, now I'm going to be naked for no reason, DON'T LOOK! JUST A WOMAN IN HER UNDERWEAR NOTHING TO SEE HERE!' I normally think people are exaggerating when they talk about scenes throwing them out of movies because they seemed tacked on or whatever but I genuinely see where they're coming from with this. It totally came out of nowhere.
"The trouble with fighting for human freedom is that one spends most of one's time defending scoundrels. For it is against scoundrels that oppressive laws are first aimed, and oppression must be stopped at the beginning if it is to be stopped at all."
-H. L. Mencken