The deal between the French government and the tech giant is believed to be the first of its kind.