IIRC, there was a science fiction story where a supercomputer that humanity used for efficient logistics took over the world simply by changing the orders and sending things to the appropriate places. Can't remember the book, but might have been by Heinlein or Clarke... Seems like the Amazon AWS servers could do that quite nicely if they were sentient... or just had enough data.