Formula One and Mercedes have condemned racist language allegedly used by former world champion Nelson Piquet towards Lewis Hamilton.