The Pentagon says it plans to sell 24 Apache attack helicopters to Iraq in a deal worth $4.8 billion to help Baghdad battle anti-government militants.