The Securities and Exchange Commission has filed suit against Elon Musk, alleging he violated securities law related to his $44 billion acquisition of Twitter, according to a federal docket.