Nathan MacKinnon scored the decisive goal in a shootout and the Colorado Avalanche beat the Edmonton Oilers 2-1.