I'm thinking there was a TV show, probably in the '60s give or take a decade, that turned into a spy show after a season where it was in a different genre, like detective or lawyer or something. I wish I could remember!

This is not quite the same thing, but The Man from U.N.C.L.E. devolved from serious spy drama into camp.