The effort is creating fierce debate over whether the safety benefits of artificial intelligence are worth the privacy costs.