If A and B are both invertible then [itex](AB)(B^{-1}A^{-1})= A(B^{-1}B)A^{-1}[/itex] because, as jakncoke says, matrix multiplication is associative. Of course, [itex]B^{-1}B= I[/itex] so that becomes [itex](AB)(B^{-1}A^{-1})= AA^{-1}= I[/itex]. Simlarly, [itex](B^{-1}A^{-1})(AB)= B^{-1}(A^{-1}A)B^{-1}= B^{1}B= I[/itex]
You can extend that to any number of factors by induction and repeated use of associativity.