The Twitter moved to prevent Elon Musk from significantly increasing his stake, a day after he unveiled a $43 billion unsolicited takeover bid for the social-media company.