How to do multiple file uploads from a block's form?
I think the '#cardinality' it's not a form attribute, I couldn't find on the docs.

But I could find it on the field_multiple_value_form().

I suggest you to take another approach and use the AJAX framework, I found a couple of guides (guide_1 and guide_2) that might be helpful.