There is nothing illegal or immoral about avoiding taxes. In fact it is management’s duty to their owners.
You nailed it...From us lowly peons right up to the largest corporations.