Point understood. Since shareholders own the company, the company has already paid taxes on bahalf of the shareholders. It's the same as in your family example.
But I still maintain that new taxes are due whenever the money is exchanged outside of the company and/or family unit.