Formula One driver Charles Leclerc has been fined for swearing in a post-race press conference by stewards.