Not too long ago, Naspers’s e-commerce businesses were burning cash. Now they’re almost all profitable, while the Tencent juggernaut soldiers on