Facebook's new AI will help robots teach themselves through trial and error and will have human-like curiosity.