Austin Powers did nearly the same with Bond/spy flicks for a while. From Wikipedia:
Daniel Craig, who portrayed James Bond on screen from 2006 to 2021, credited the Austin Powers franchise with the relatively serious tone of later Bond films. In a 2014 interview, Craig said, “We had to destroy the myth because Mike Myers fucked us”, making it “impossible” to do the gags of earlier Bond films which Austin Powers satirized.
Austin Powers did nearly the same with Bond/spy flicks for a while. From Wikipedia: