It's a short story, a brief one (~32 kB):
https://gist.github.com/neckro/0f3a9ec60be34e3164c6677d4ecc1...CW though, it is pretty grim. Very early example of the "AI takes over the world, decides humans are redundant" trope though. (Maybe the first?)