Alphabet Inc.’s Google removed a passage from its artificial intelligence principles that pledged to avoid using the technology in potentially…