As the Obama administration expands U.S. involvement in Afghanistan, military experts are warning that the United States is taking on security and political commitments that will last at least a decade and a cost that will probably eclipse that of the Iraq war.