The Midler v. Ford decision said her voice was distinctive. Not the song.
OpenAI didn't just use a voice like Scarlett Johansson's. They used it in an AI system they wanted people to associate with AI from movies and the movie where Johansson played an AI particularly.[1][2]