If you’re actually curious, not just venting, the book you want is Superintelligence by Nick Bostrom.

Not to claim that it is in any way correct! I’m a huge critic of Bostrom and Yud. But that’s the book with the argument that you are looking for.