Next, "as individuals and companies allow A.I. systems not only to generate their own computer code but actually run that code on their own."
Yes. If a computer thinks a red orange pink sky is beautiful ("beautiful sunset"), and beauty is Good, then causing a mass explosion (eg) for the orange/purple sky is foreseeably on the table for these systems.