Machines are now able to learn and evolve without human intervention. Here's how it works, and what it means for the future of humanity.