Former President Donald Trump was accused in a lawsuit of trying to “drastically dilute” the value of stock shares in his social media company.