Veteran executive seen as a potential Google CEO must tackle threats from Trump to tech rivals