The US military has spent at least $47.1 billion on its war on Iran as of mid-October, according to a new Pentagon estimate.