President Trump’s decision to bar refugees from certain countries drew an emotional response from Google’s CEO.