I am not aware of anything that stops the common pattern of using a company to do something dubious (eg. sell opiods), then drain all the profits by paying dividends to shareholders or IP license fees to another company, only later to be sued or fined for the behaviour, but there is no money left to pay the fine.
Is such a practice illegal? Is there any way in law to claw the money back from shareholders or the other company, especially if it cannot be shown they were aware of the dubious behaviour?