What are times when TV shows used outlandish ideas to keep the show going?

So I was interested in discussing cases where a TV shows was running out of steam as sometimes what happens is that after a show has been going on for long enough, the writing staff will start to throw in outlandish things to keep the show alive.

For instance, Alias is an infamous case as several times in the series, the Rambaldi subplot was supposed to end, but because the writers were apparently given season renewals, they kept going on with that plotline as the more it continued, it kept getting more bizarre as it even got to the point where Rambaldi could give people superpowers for some odd reason as while I did see the show, I don’t recall it was explained how it could do that.