There can be a bit more nuance to it than that. FlightRadar24 and other tracking sites do use ADS-B data broadcast by aircraft themselves, but they also use other information. There are other ways that aircraft that aren't broadcasting ADS-B can still show up on a map.
1. Mode S: Even if an aircraft isn't broadcasting its own position via ADS-B, if it's using Mode S its position can be multilaterated if you have a cooperating network of receivers (which is what FR24, ADS-B Exchange, etc. have).
2. TIS-B: An aircraft could be using Mode A/C, which generally can't even be multilaterated, or it could have its transponder turned off entirely and ATC can still use primary radar returns to broadcast a synthetic ADS-B-type target for safety, so that other nearby aircraft will see it show up on their traffic displays. The data won't tell you what aircraft it is, but you know where it is. And in fact, it's frequently possible for experienced observers to figure out what kind of aircraft it is and who's flying it based just on its track, speed, and altitude. I frequently see contacts on ADS-B Exchange in the Los Angeles area that are obviously fighters flying without ADS-B or Mode S, showing up as TIS-B.
Military aircraft on sensitive operations can turn off their transponders, and I don't know if China uses TIS-B, but I just wanted to clarify that there is data besides ADS-B that gets used, and that a network of receivers has capabilities that a single receiver doesn't.