What is the "intelligence" in planets creating perfect spheres? It's the need of things to go downhill; when everything is as downhill as it can be, it's a sphere. What is the "intelligence" in turning moths dark brown when pollution goes up, and turning them white when it goes down? Nothing, unless birds eating only the bugs they can see constitutes "intelligence." The need is merely that the birds don't want to starve, and eat moths, which they locate by sight.
Planets do not create perfect spheres. Planets do not create anything. Neither do rocks. Planets and matter are just the playthings of universal forces, they do not create anything.