Yeah, add another one to the "me too" crowd here.
My first-generation (plastic 2006) MacBook had the issue, but I managed to alleviate it by using a Scosche iPhone-gauge cable, which probably pushed into the plastic of the laptop's port enough to secure itself.
However, unlike plastic, aluminum is not exactly pliable by computer body standards, at least.
My current unit (the late 2008 aluminum MacBook), of course, has the issue hardcore. No cable (strangely, except for a 3.5mm TOSlink optical cable I have) will secure itself into the jack properly. If you move the MacBook, adjust your headphones, touch the wrong side of the laptop, look at it funny, use it during the wrong phase of the moon, the cable comes sliding out an imperceptible amount, causing audio to be re-routed from the attached audio device to the laptop's fairly obnoxious-sounding speakers (after a delay, at that). Same as everybody else here, so I'll stop at that.
Also same as others... I have NEVER had another device, iPod, other music player with headphone jack, promotional free mini-FM portable radio... have the problem this severely. You'd have to really jerk on or drop those units for a disconnect to occur.
I don't think Apple will be able to fix the problem without re-designing the audio ports by giving them some sort of iPhone-like securing interior barrel.
Otherwise, maybe someone'll figure out a cable whose very adapter end can "get a grip" into the port of the computer. Who knows, Scosche might figure out one soon.
Meanwhile, depending on how you seat your computer (e.g., on your lap, on a desk, in a tree, with green eggs and spam, it doesn't matter), a 90-degree (right angle) adapter might be harder to accidentally unseat. I have tried this with a small degree of success (it's just that during the waxing-Gibbons phase of the moon, one has to be particularly careful*).
Anyways, guys, listen on through your loose 3.5mm audio out jacks, and meanwhile, I'm hoping that someone (hello, audio cord manufacturers, y'all listening?) will figure this issue out so that I won't have to send in my MacBook for a replacement.
*Not sure I was joking about the waxing-Gibbons moon phase thing.
Signed,
Apfelsosse (that's German for applesauce... I think.)
Voluntary MacHostage since 2003