Apple was first to the personal computer. First to the smartphone. First to the tablet. First to wireless earbuds. The vast majority of the company's revenue comes from segments where they had a multi-year head start over their competitors.
In fact products where they play catch up are more prone to failing (Vision Pro, Airpods Max, Homepod, Maps, MobileMe, Ping, Music Connect, AirPower, Airport).