They’re not non-survival genes. They don’t reduce survival in the current actual conditions.
What is and isn’t a survival trait depends entirely on what the conditions are.
What’s a survival trait, under current conditions, is the ability to stay alive and reproduce while living with a very large number of other members of the same species; which, considering how good we are at weaponry, means managing not to get into too many fights with other people. We may be getting better at that; though we may not be doing it fast enough.
I suspect our intelligence has developed in large part to serve out ability to manage social situations. Hunter-gatherers need to do this. Farmers need to do this. Fishers need to do this. Humans all over the world need to do this. There are no human groups that aren’t going to find intelligence a survival trait.
Also – agreeing with others: you need to know different things to hunt than you need to know to plant food (plus which lots of people did, and do, both.)
I do, actually.
Humans tend to want to think that everything else is stupid.
And humans who rely on hunting do much of it in social groups, and as a learned activity. – for that matter, hunting in cats is partly a learned activity. ‘Chase the little moving thing’ is inherent; ‘stalk it and then catch it in a fashion that won’t get you hurt yourself, and eat it afterwards’ is learned.
I grant that hunting in spiders is probably pretty much built in; but it’s marvellous, all the same.
Humans also tend to want to think that people unlike themselves are stupid.
Rural farmers and city slickers know different things. One group doesn’t know more things than the other.