According to this, Algorithmic Rape Jokes in the Library of Babel | Quiet Babylon, the T shirts were generating automatically and the company that sold them, Solid Gold Bomb, is saying that they not responsible because, hey, algorithms. I agree with the article: this is a bogus excuse. It’s like someone saying I wasn’t responsible for my car putting you in the hospital if it hit you because, hey, the car hit you, not me. Just like you are the operator of the vehicle and you are responsible for the operation of that vehicle, so too are companies and the people that run them responsible for their algorithms / computer technology as a whole.
You are responsible for the technology you deploy, and if you don’t understand that, you shouldn’t deploy it.
Also, Amazon needs to act, too. It’s a great company in many ways, but this and other practices that occur on their web site needs to be cracked down on.