Here’s how we can safeguard privacy amid the rise of artificial intelligence