...unless you can trade one tech with a few neighbors at the same time.
If I trade Tech X with Liz, Catherine, Gandhi, Mansa, Freddie and I sell the Tech for a couple hundred gold each to two other civs, I've accelarated myself quite a bit. Sure, everyone else is accelerated a little too, but it's well worth it if I can get enough of a comparative advantage.
I now have an extra 5 techs and several hundred gold extra to either upgrade units or to finance deficit research. Everyone else just has one extra tech.
Obviously, that's not going to be possible in most cases. At higher levels, though, if you can get a relatively expensive tech that the AI doesn't go for quickly, you can often trade with 3 or even 4 civs at the same time. I wouldn't give away Horseback Riding to an immediate neighbor who has both Elephants and Construction, but you can get some very good deals with the computer as a whole if you trade with several AI civs simultaneously. It seems to me that this is why Lightbulbing was so successful in Warlords.
It's not that a Lightbulb gave you 1 free tech. It's that a lightbulb gave everyone a free tech while it gave you 4-6 free techs and some extra cash.
Sometimes it's even worthwhile to trade a tech at a deep discount to one of your neighbors if it is to your long term strategic advantage. I'll often trade Code of Laws at a discount to my immediate targ^H^H^H^Hneighbors. I want them to build Courthouses in their cities. It makes those cities just that much more attractive for when I conquor them later.

I'll also consider gifting Bronze or Iron Working to a neighbor who has that resource in his lands but doesn't know it yet if they are currently at war with another neighbor when I want that 3rd civ taken down a notch. (if I can't gift the metal resource directly)