How many miles, how much power, how much shifting and and how clean all matter.
I change the DA chain yearly just because for <$50 I don't care.
The cassettes are very good. I'd go DA. The Ultegra is just a lot heavier.
The front ring has about 15 parts on it. There is not a lot of metal there. They can come apart with a lot of power, although rare.
The electronics can be mean on chains and other than their cassettes and front rings. It is common to break alloy teeth on the cassette, and even wack the chain. I am a weight weenie - but go stock DA cassette, chain and front rings - because they are so good.
I don't think it is near the most durable, but it is the best shifting. ~20K miles on a front big ring is realistic. ~5K on the chain. ~10K on the cassette. All that being you keep them clean and lube.
If you want more longevity go 1X and do a narrow-wide front - wolf tooth brand, or other.