One of the reasons that leads to hack the platforms is the developed team. In many cases, the team either steals money to declare bankruptcy or one of the individuals cheated the rest of the individuals.
It is the weakness of the laws, legislations, and controls imposed by governments that encourage such behavior, so I think it is more economical than technology.
If this is the case then it is a problem with internal controls, which should be set by the company. Nowhere in the world is it legal to steal. So companies need to adapt security protocols that an exchange like Coinbase has. They have been without hacks because they have good internal controls to prevent such things.
We can build better tech, but if we don't have good internal controls we are screwed.