How to Save the Human Race from Itself and from Artificial Intelligence