Really LotR is about mortality and power.
The power of the ring is primarily to delay the inevitable and it corrupts all who cannot accept that.
It hardly takes more than a smidgen of familiarity with the author's history to see it's deeply rooted in the experience of the first world war, not the second. As Tolkien notes, the themes flat out don't make sense for the second.
- He dislikes allegory in all its forms
- The relationship between any author's experiences and his writing are amazingly complex.
- The story is meant to provide a good long tale that would move, delight and surprise readers. It is not meant to have a deeper meaning by intention.
- Parallels between WWII and LoTR simply don't work.
- The key parts of the story are by far the oldest.
- The old miller had a black beard and his name was not Sandyman (his final dig).
He was far more influenced by his classical background and philology than current affairs.
WWI saw a lot more walled fortifications where bunkers where the preferred WWII due in no small part to increase aircraft use.
LoTR used walled fortifications, some ranged combat but a lot of hand to hand combat, artillery where there but of minimal value, you can even think of the eye as eairly aircraft useage, where you can't really hide, but aircraft can't Effectivly attack. Etc.
But authors are necessarily a part of their environment. It is -- literally -- inescapable. The good Professor was directly involved in the first World War, and the second was at his doorstep. His aversion to modernity could have led to him simply denying a a conscious connection between those real world epics and those created by his own mind.
But the works themselves put doubt to his claim. If we take him only at his word, and stop there, then that is the end of it. But if we recognize the imperfect ways we self-assess, well...