The Dark Side of AI: Threats to Blockchain Security