Scientists say they have overturned the prevailing idea for how the planets in our Solar System formed.