There’s a thing in intellectual property called “passing off” - if your logo and branding is so similar to McDonalds that consumers are likely to think that your product comes from McDonalds, then you’re in breach and will be sued.
Regardless of whether they hired a different actress for the voice model, enough consumers would be convinced “ohhh it’s the same as ScarJo in Her!” which should point to there being an issue with ScarJo’s image rights and likeness, and although the law right now doesn’t explicitly cover AI voice modelling, as soon as this is tested in court it would likely set a precedent. Unless ScarJo lost that case, which seems unlikely.
Regardless of whether they hired a different actress for the voice model, enough consumers would be convinced “ohhh it’s the same as ScarJo in Her!” which should point to there being an issue with ScarJo’s image rights and likeness, and although the law right now doesn’t explicitly cover AI voice modelling, as soon as this is tested in court it would likely set a precedent. Unless ScarJo lost that case, which seems unlikely.