Google widely criticized after parting ways with a leading voice in AI ethics