The moves are part of an effort to slim down to WeWork's core business of leasing flexible office space. WeWork said the