Twitter has said it will go ahead and close the $44 billion deal it had with Tesla owner and CEO Elon Musk to acquire the social media company.