Bill Gates was an AI optimist. Now he’s scared of what could go wrong.

In an essay, the Microsoft co-founder sounds the alarm about artificial intelligence’s risks to safety and security, jobs and children’s well-being.