How much of all current energy on earth arrived as sunlight vs. as kinetic energy during formation?
We can try to compare sunlight energy arriving from the Sun and geothermic energy coming from the Earth's interior.
The Earth gets about 340 W/m2 from the Sun(1) while the average geothermic flux is about 0.1 W/m2.(2) Therefore, the current energy of sunlight is way larger than that from kinetic energy during Earth formation.
Additionally, it should be noted that a large part of geothermic energy doesn't come from Earth cooling by getting rid of its formation heat but from radioactive decay, making the comparison with sunlight even more one sided.