Afghan President Hamid Karzai has warned a booming trade in opium and heroin threatens the existence of Afghanistan as a nation-state .