Tensor Invariant Data-Assisted Control and Dynamic Decomposition of Multibody Systems