WeWork said it plans to withdraw its registration filing for an initial public offering of its We Co. parent, effectively ending the shared office space provider's plans for a stock sale a week after cofounder Adam Neumann stepped down as chief executive officer under pressure from SoftBank Group Corp., its largest investor.