How to array only one key from another array

Try this :

// This converts the WP_Term Object to array.
$catlist = json_decode(json_encode($catlist),true);

$category_id = array_column($catlist, 'cat_ID');
print_r($category_id);