Tax = transfers (gross) profit to the country (before profit transfers) regardless of the owner.
Profit transfer = transfers net profit after taxes to its owners in the proportion the owner owns the corporation.
You should view your country as a business and therefor see your corporations as a tool in your favor. Transfer profit is all about cashflow. The less cash your corporations need, the more cash-efficient, so you want to suck out as much cash out of your corporations. Especially if you are not the owner.
Sidenote 1: Profit transfer somehow affects net profit negatively (i dont know why because irl it shouldnt). This is just an accounting consequence and does not really matter, however if you want to IPO it does matter, because market value is derived from net profit. So if you want to IPO, temporarily setting profit transfer at zero makes sense. Excess cash in corporations are eventually transferred to country