WeWork Cos. has confirmed that Japanese telecommunications conglomerate Softbank Group Corp. will invest $3 billion directly into the office-sharing startup and $1.4 billion into three newly created subsidiaries to expand the company into China, Japan, Korea and Southeast Asia.