When Google’s AlphaGo defeated a world champion in Go, it became a historic moment for AI. This is how one algorithm changed everything.