Donald Trump has vowed to avenge the deaths of US servicemen killed in the Middle East, while warning there will likely be more.