Most, if not all actors use “Loan-Out Corporations” for their contracts. The actor performs the work under the auspices of the Loan-Out Corporation and the corporation gets paid directly from the studio.
The studio doesn’t have an HR nightmare for dropping a contract due to a morality clause