Apple said it was working to fix the ‘glitch’ which saw word ‘racist’ displayed as ‘Trump’