Deus ex machina is defined as "an unexpected power or event that saves a seemingly hopeless situation, especially as in a contrived plot device in a play or novel" — or even a soap opera. Maybe especially in a soap opera. In Greek theater, it meant that actors representing the gods were suspended above the stage, and the resolution of the play was brought about by their intervention. Since soaps have been around in some form or another for thousands of years, it's only natural some of the plots are reused, rehashed, forced, strained or…well, you get the idea. Usually I'll come out against this kind of thing; it means the writers are being lazy.