Jules Verne wrote steampunk a century before the term was even coined. Cervantes wrote a novel before novels were a thing (at least in the West), and thereby defined what a novel should look like. The Epic of Gilgamesh predates the Greek tradition of epic poetry by at least a millennium, but nobody denies that it's an epic poem.
According to this article https://www.depauw.edu/sfs/backissues/2/plank2art.htm "windmills were first erected in La Mancha thirty years or less before Don Quixote was written" and this gives new nuances to Quixote's delusion.
That's not the only encounter with "advanced" technology; there's also the episode with the water-powered "fulling-hammers" https://www.cliffsnotes.com/literature/d/don-quixote/summary...
Don Quixote also rails against modern military technology like firearms.
Compare this to, say, Dinosaurs, which (while in many ways similar to The Flintstones) had actual references to contemporary events and phenomena.