Google staff in the US who complain over racism were advised to take mental health leave, NBC reports.