It's spelled Deus Ex Machina, and it has a completely different meaning. It is basically when a problem is solved by the sudden introduction of something entirely new and unprecedented. When the best way a writer can think of to solve a problem is to pull out a new super character with magical powers to save the day, with nothing previous hinting at it, that's a Deus Ex Machina moment.