It's no random. Both, George Lucas and John Boorman (the makers of Willow and Zardoz, respectively) tried and failed secure movie rights. When that fell through, both went on working on some common shared plot elements, like in The Hobbit, or vaguely on general concepts (A halfling and a sword-carrying rouge on a…