Saudi Arabia has agreed to buy about $7 billion worth of precision-guided munitions from U.S. defense contractors, sources familiar with the matter said.