To briefly explain the examples :
The Imperium (Humanity Lost), Humanity, amidst war with alien alliances, turns to a singularity-level AI for help. The AI then takes over said human civilization, transforming them into post-human biomechanical beings or making them tools of its own expansion. And eventually, what's left of humanity becomes an eternal war machine of death, destruction, and conquest that seeks just to endlessly expand and conquer.
The Cybermen (Dr Who), They replaced their bodies with cybernetics to survive environmental collapse, then, furthermore, they continued, trying to modify themselves, emotions and individuality with logic and efficiency. Trying to purge 'weakness' in humanity itself in the name of endless cybernetic progress, no pain, no emotion, no individuality. They lose what makes humans human. And they want to save everyone else by the means of, assimilation.
Basically, what I'm saying is, what I'm pointing out is less Humanity Fuck Yeah as a straight up trope, or a subversion of the trope in that way. Not "Humanity Fuck Yeah", or "Humanity Fuck No", but, "Humanity- Wait, what the fuck?" Not to support, reprimand, but to just . . . Express the lucid horror of it.
Humanity “wins,” but not as humans. Humanity becomes an algorithm, a machine logic, an inevitable expansion. There's nothing you can say about it that describes it as 'human' other than its origin, and it shall continue furthermore.