AI will never be a threat.
The only threat but which bitcoin developers do not see as threat for now is quantum computing which is predicted to be able to reveal bitcoin private key from the public key.
That's an alarming point even if it is not a threat at the current time but still alarming things because it could be a threat in the future.

This is a completely new topic for me and I just heared about it from your post. Can you tell me more about quantum computing and Bitcoin's private revealation or can you help me with a source about it? I really want to know more about this.
I don't have the sources on hands, but there are multiple topics on the forum regarding the issue.
I do think, though, we have nothing to worry about, BTC will become full-proof from quantums by the time it will become as widespread as we think it would be.