The deal for Musk to buy Twitter is expected to be completed by the end of 2022.