The military is investigating whether a missile fired by a US drone killed two American service members last week in Afghanistan.