situation where parties do their own thing

"Working at cross-purposes" describes the situation where each team's efforts are interfering with the others and preventing them being successful.

"Dancing to their own tune" describes where everybody is doing what they want without consulting the others, but doesn't include the element of each interfering with the other.