ByteDance divests gaming unit in major strategic shift.