I even remember the non-Human character Kira in Deep Space 9 being assigned it in dialogue, it was really jarring. It's as if it had just been reduced to a sequence of syllables and the writers didn't think about what it meant.
And for all practical purposes, it has. Sometimes, sentences used very often lose their meaning and become interjections. "Goodbye" comes from "God be with ye", and of course it's used by atheists as well.
OMG is not a swear word though -- it's just an expression of awe/amazement/surprise/etc.
(Or that would be, if it even was an oath. But "Oh my god" is NOT an oath. "On my God", or "In the name of my god" would be that).
Unless if you swear (promise to do something) to your god (or on your god's name).
OMG is not that different from "oh man!" in use. It's for surprise. How does "swearing an oath" would be related to being surprised?
In the sense that you find something surprising, and ask for your God (as when you fear something, etc).