Davis is billed and promoted as a Lead Actress in Fences and probably also payed as one. It's not rly about how much you contribute but how you are billed. If the song says Eminem feat. Rihanna, it doesn't matter who has the most (prominent) parts in the song.