If we distinguish capitalism, from free market economy, then the problem with capitalism is the unecessary piling of wealth because of human insecurity. The more someone piles up the more secure he feels.
Some humans pile up as if they would live for ever. Sometimes what they leave behind could be enough not only for their children but even for their grand grand grand children to survive without having to work a single day...
What's the solution to this paranoia?
Simple,
SET AN UPPER LIMIT TO WHAT ANYONE MAY INHERIT.
This limit should be calculated based on what income the deceased has been declaring in his tax forms, as well as what part of that he was declaring in support of each heir.
The idea is to pass maximum wealth to each heir, so that each could live on same standards he used to, for the rest of his life. "Life" could be set to 100 years.
Donations to heirs before anyone dies should be strictly recorded, so that they would never exceed the limit.
This could easily apply on inheritances of real estate, Companies and shares, farms, and Cash deposits.
More difficult to apply on jewelry, precious metals, works of art, cash kept in vaults etc.
And nearly impossible on cyptos.
But it could make a good start.
NB. Notice the connection between one's income tax form and what part of his wealth he can pass to his heirs.
Now if the heirs are no longer supported by the deceased then the maximum inheritance could only be some fixed amount of immovable and some amount of cash. Certainly not everything.