Google CEO Sundar Pichai gave a graduation speech filled with optimism, but scores of Stanford students protested his presence and his company’s actions.