I am imagining it like pouring a cup of sugar on a dinner plate and shaking the plate around until the amount of sugar on the plate is sort of stable. The excess material ends up outside the solar system (Oort cloud / kuiper belt) or part of gas giant cores and moons.
With that, there is only so much material in the inner solar system to work with and the law of averages works out and we end up with similar sized planets.
I would assert a hypothesis that a ratio of material in the inner solar system is linked, in some way, to the size of the star. That it is unlikely there will be massive earths out there in the inner solar system because of this natural distribution of material around a star.
I have no formal training at all. Just an IT nerd that watches a lot of Kurzgesagt.