Elon Musk has announced he will step down as CEO of Twitter and the new chief executive will be Linda Yaccarino.