I guess recent news in the UK reminded me of this.
In John Christopher’s Tripods trilogy, beginning in 1967 with The White Mountains and serialised incompletely by the BBC in 1984 and 1985, the earth has been enslaved by an alien race who pilot three-legged war machines; it’s similar if not exactly the same as “what if War of the Worlds, only the Martians won?”