Microsoft took an ethical stand on facial recognition just days after being blasted for a sinister AI project in China