Here's another article that highlights how he became a major, high profile philanthropist only after it became clear the feds were on his case:
https://www.washingtonpost.com/business/2020/11/09/smith-bro...
The charitable giving seems to clearly be part of an aggressive, multi-pronged, and ultimately successful strategy to avoid prosecution.
This is not evidence "the system is working", this is evidence that you can buy your way out of trouble.
It should be the voters‘ decision where the money goes to. Charities can also be a place to store money. If you control them you can also decide where the money is invested in. You just need to put a bit each year into some charitable cause where again you can spend that money buying products from wherever you want.
Ergo there’s no chance of prosecution, he’s given more than he owes to charity, and has still agreed to pay back most of what he owes. It’s not perfect, but the system is working.