JPMorgan doesn’t want to get burned by AI and machine learning. Here’s how it avoids costly mistakes.