When you use select, you're creating an object array. You can use the compose feature inside a Apply to Each loop to do what you're trying to do. When you use a compose inside an Apply to Each control, you're essentially creating an array.
After the Apply to Each, create a Compose action that joins the output of Compose with a semicolon
join(outputs('Compose'),';')
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…