I have two problems with what you're saying:
1.) Moonblink's Tricorder app was neither made nor intended to divert profits or attention away from the Star Trek franchise/collection of works. In fact, it was written in homage to the series, and it's really hard to imagine how it could even unintentionally harm CBS in any way, shape or form, especially given that the app (and the part of Star Trek it's emulating) is fairly trivial. It was basically harmless. CBS squelching it seems more out of spite or misguided self-preservation than anything else.
2.) What if CBS doesn't make a Tricorder app -- or doesn't even intend to? If CBS can't produce or deliver something which a lot of people enjoy (or so it seems), and a fan of the franchise can and does, why should CBS actively prevent the fan from doing so? If they can't do it (and don't even want to), no one can? That seems awfully childish. Especially considering -- and I'm repeating myself here -- the Tricorder app posed absolutely no threat to the brand, and may have even earned it a tiny bit of recognition. It never purported to be official, authentic, or representative of CBS in any way, shape or form (actually, I think it purported to not represent CBS at all).
This isn't piracy. This is an original creation that bore a mere cosmetic resemblance to certain elements of a fictional universe and was not released for a profit -- additionally, its source code is freely and publicly available. There was no real or even potential harm being done to CBS, Star Trek, or anything related, as far as I can see. Why should CBS be acting against things that do it no harm? Is there something I'm missing?