The FIA has confirmed that Ferrari driver Charles Leclerc has been give a fine for swearing during the post-race press conference at the Mexico City Grand Prix.