An Israeli company had been selling surveillance equipment to Iran for years through a middleman in Denmark%2c a Bloomberg News investigation this year showed.