Twitter’s Q2 earnings numbers came in below analysts' expectations, and the firm said Elon Musk is partly to blame.