How the energy transition and digital technology are spawning environmental havoc, political upheaval, and murder—and how we can do better.