I think the production is the ground, without great production the song will suffer regardless of how talented the artist is.
But I mean it goes both ways too, nobody wants to hear a weak rapper on an amazing beat.
What makes the song is great production and great writing and presence or flow. Not one strong the other weak, even though that can be common, those artists or producers just don't have balance yet.