McDonald’s plans to revive its brand in China by getting out of the restaurant business