US defence department releases statement saying object was used in training after photo emerged of military inspection