Ferrari have been punished with a fine after fitting the wrong tyres onto Charles Leclerc's car in FP2.