France said the cyber unit of Iran's Islamic Revolutionary Guard Corps carried out an "unprecedented campaign" that caused millions of euros in damage.