TAIPEI, Taiwan — Chinese authorities have spent decades scrubbing details of the 1989 pro-democracy demonstrations in Tiananmen Square from the country’s memory — most recently deploying artificial intelligence to erase any trace of the massacre from the Chinese internet.

