The U.S. military said on Thursday it had killed 24 militants in an air strike on Wednesday in the vicinity of Shebeeley in central Somalia.