Depends on the country that you're talking about.
It's definitely a generalisation to say that every single country globally is anti-crypto, while every single country is pro-AI. Simply does not work like that. Some countries hold neutral positions in regards to crypto policy, others may be anti-crypto. There is a spread of national interest in crypto across the world, on an individual level.
For countries who do have harsh crypto laws, I think that there are three main reasons. One is that it takes direct control out of their hands when it comes to monetary policy. Secondly, there is a fear of tax evasion using crypto. Thirdly, there may be irrational fears of crypto being used as a currency to facilitate illegal transactions. But honestly, these concerns have all been debunked before, and I believe that for their own good, countries should at least encourage crypto businesses and regulate these businesses, instead of just flat out trying to ban it.