As Jack Ma was trying to salvage his relationship with Beijing in early November, the beleaguered Chinese billionaire offered to hand over parts of his financial-technology giant, Ant Group, to the Chinese government, according to people with knowledge of the matter.