Elon Musk notified Twitter on Friday that he was walking away from an agreed $44bn (£36.6bn) takeover. The move sets the stage for a legal battle between the world’s richest man and the social media platform. Here we explain what happens next, and whether Musk has a chance of succeeding.