Barely a week ago, Adam Neumann was sitting atop the most valuable startup in the U.S. and getting ready for a blockbuster initial public offering.

Now he’s out of a job.

The charismatic, high-octane 40-year-old resigned under pressure as chief executive of WeWork’s parent Tuesday and will relinquish control of the shared-office company,...