Does Apple have a head start on most things they do? Most observers acknowledge they aren't usually the first to do something, rather, they're good at execution and polish. They were beaten to market on pretty much everything: watches, bezelless displays with notch (e.g. Essential Phone), smart/speakers (Amazon, Google, Sonos), Streaming/TV (Roku, Amazon, Chromecast), etc.
Really, I think the world would be better if they published more openly and were more open, and I don't think it would really hurt their ability to outsell their competitors at all. Let's say they're working on AR glasses (which they probably are) and Samsung catches wind of this and rushes to market with Samsung AR glasses. How many Apple fans actually think this will make a difference to people in the Apple ecosystem buying Apple AR glasses?
At this point I think the secrecy does more harm than good.