I stand corrected.
Cory was where I read it first. He's marketed your analogy to a broad audience.
Too many on the technofascist AI bandwagon treat human beings & society's challenges as an Ant Colony Optimization algorithm awaiting a mechanistic solution.
https://en.wikipedia.org/wiki/Ant_colony_optimization_algorithms
Elon Musk calls people NPC (non player characters) to devalue human life.
His fossil fuel investors consider most of humanity as "just ants".