Musk confirmed Yaccarino will succeed him as chief executive of Twitter, which has seen advertising plummet. The two appeared in a marketing conference in April.