After they have received an investment it is not their company, but a company that belongs to both them and their investors. Indeed, unless those investors are individuals, they have a fiduciary responsibility to act when the company is being mismanaged.
Just because you legally can, doesn't make it right.
There is no good excuse for maximizing your profits by suddenly changing the ownership structure of the company to your direct financial benefit. Doing so is wrong.
Nevertheless, it is their company.