Google CEO Sundar Pichai warned employees to expect additional layoffs in the months to come as the tech giant reorients itself toward artificial intelligence “and beyond.”