Your example doesnt prove anything, chess engines arent connected to data bases with important information, they were created with the objective of winning humans, and it succeded. Now i could use your example against you: if the human race created such a intelligent machine that could win humans almost 100 percent of the time, what guarantees us that if we create a superintelligent ai with acess to database we would be safe?