I doubt bitcoin was created by AI, it uses a blockchain, which can be thought of as a classical computer. Once we create evolved version of bitcoin, like IOTA, which uses a neural network and structure, similar to AI now, then it would be impossible for AI to break, which ends up with better security.