You’re conflating the two systems. YouTube does have the Content ID system, which does automatic detection and is mostly used to monetize (not take down) copyrighted content. But this case is a copyright strike, which means there was a DMCA takedown filed.
The differences between these two systems are explained here: https://support.google.com/youtube/answer/7002106