To be fair, wind is also a form of solar power. (Wind being caused by the difference in heat between the different hemispheres/poles & the rotation of the earth)
So wind & solar power are indirect & direct long-range nuclear energy sources, respectively.
Erm, the sun was formed in the center of a nebula and the planets formed out of the remaining mass that didn't collapse into the sun. Yes, the gravity of the sun influenced how the remaining mass interacted and formed into planets with rotation, but it is not wholly a direct result of the sun itself, rather the angular momentum of the original nebula.
lol this is so pedantic it's mindbogglingly fun. I would argue you're confusing "gravitational effects" with what people are describing as "the sun's output from nuclear fusion".