It is perfectly legal for Netflix to ask for options or any other consideration in exchange for the contract. Companies do this sort of thing frequently. They know that merely signing a large contract with a large firm will increase the value of the contractor.
It is not legal for someone working for Netflix to ask for shares in their own personal capacity as individuals. That is what runs afoul of the law.