Apple is fixing a bug that caused its voice-to-text dictation software to mistakenly transcribe the word “racist” as “Trump,” the company said on Wednesday.