Presumably, the production company and Scarlet Johansson would have it in their contract what to do in case she doesn’t want to act in a sequel.
No contract exists between OpenAI and Scarlet Johansson.