Only government regulation and transparency can ensure that artificial intelligence serves humanity rather than destroys it.