So I don't really buy this common internet "if it happened, we'd know about it" meme that secrets are so hard to keep.
Another data point: The Manhattan Project. It was large, involved a ton of people, and still managed to keep a lot of secrecy around itself for some time.
Likewise, the Guatemala syphilis experiments: https://en.wikipedia.org/wiki/Guatemala_syphilis_experiments
I have friends who are working on killer robots (terminator style) and they are not interested in fame or notoriety, they want the technical challenge and the fat paycheque. Whether you agree with the ethics of this is irrelevant, the point is, it can be done
There are institutions scattered all over the globe that do shit behind closed doors. Jeffrey Epstein (et all), Scientology, Russia, North Korea, the Nazis, Hydra (kidding) and a ton of engineering, defense, biotech labs all over the place.
It’s not hard to do something secretly if you have money.
Small teams can move mountains. I mean look at the Manhattan Project or Lockheed Martin during the golden years of stealth technology.