I vaguely recall a movie from my childhood (so probably some time in the 80s or 90s). It was an animated movie (not anime) and it culminated with a fight inside Big Ben or another huge clock tower, among large gears and other mechanical objects. Unfortunately I remember little else about it. I recall it as having had significant fantastical elements. I think there might also have been a robot involved, but my memory on that is hazy.
Although this isn't much information, it seems specific enough that there are probably very few movies matching this criterion. Could anyone enlighten me as to what movie I am remembering?