No, you misunderstand. If the stock and advisory role were given to Netflix as part of the deal, it would have been fine. That's not what happened here.
The benefits went to the executive directly. He asked for personal bribes to sign contracts on behalf of Netflix. He enriched himself at the expense of his employer. This is illegal.