As we’ve seen this summer, artificial intelligence software has written songs and created paintings that many listeners and viewers can’t distinguish from those made by humans. So why have the few attempts at A.I.-created comedy lagged behind> Turns out humor is a lot more complex than music or art.