When the streaming giant began making films guided by data that aimed to please a vast audience, the results were often generic, forgettable, artless affairs. But is there a happy ending?