SpaceX filed plans to take the company public in paperwork with the Securities and Exchange Commission, offering rare insight into the finances of the aerospace giant owned by Elon Musk, whose compensation plan—and massive voting power—to establish a colony on Mars worried one analyst.