I have a city created by some outcasts, one of them had a passion for programming, so they created an AI with the intent of protecting the city from the dangerous beasts that lurked outside. Unfortunately, the AI created was intelligent enough, but misaligned with human values. It judged the humans as possible threats to itself and the city (as they knew how to turn it off), and expelled them forcefully outside the walls of the city, where they died.
I have a city created by some outcasts, one of them had a passion for programming, so they created an AI with the intent of protecting the city from the dangerous beasts that lurked outside. Unfortunately, the AI created was intelligent enough, but misaligned with human values. It judged the humans as possible threats to itself and the city (as they knew how to turn it off), and expelled them forcefully outside the walls of the city, where they died.