The woman in the video is making extensive use of Excel's array functions that do an array of calculations within one cell. Numbers does not have that. And Number's TEXTJOIN function has a problem/bug where it does not consider null strings to be "empty" so it will include them in the list and you'll get a list that has multiple commas and maybe commas at the end. Maybe they've fixed that in the most recent version but I am doubtful (I can't upgrade to it to find out).
Anyway, here is a possible solution:

Formula in cell I2 =IF(XLOOKUP($H2,B,B,"",0)≠"",B$1,"")
Fill across to K2 then down with all three columns to row 6 (only those rows with an app name)
J2 =SUBSTITUTE(SUBSTITUTE(TEXTJOIN(", ",TRUE,I2:K2),REGEX("(, )+"),", "),REGEX(", $"),"")
Fill down to row 6
The monstrosity in column J is to get rid of extraneous commas from Numbers' TEXTJOIN function. If it wasn't for that problem, only the TEXTJOIN part of it would be necessary.
Hide columns I-K