why do you think other manufacturers struggle to achieve what Apple does?
Fragmentation and different visions/models for their businesses. The two closest would be Google and Samsung. Samsung are a business making TVs, fridges and microwaves. Google started off as a search engine and have their fingers in ad revenues, data analytics, cloud services (icloud runs on google servers) etc etc..
Google don't make a computer for a start and run their services mainly from the chrome browser. When I say computer, I don't mean a chromebook although I guess you could argue it is.
There isn't really two companies alike, so you can't compare.
Apple makes everything they provide, so can close off their ecosysytem. The others have to rely on each other, so are more open. Pros and cons, but for me personally, I like the tighter integration offered from being a closed system, even though it sometimes can be a little annoying or too closed.
If you only picked one companies offerings it looks like this:
iPhone / Pixel
iPad / Pixel slate
Macbook Air/Pro / Pixelbook
iMac/Mac Pro / Nothing
Homepod / Google Home Max
Nothing / Google Home Hub
Apple TV / Chromecast
Watch / Nothing
Airpods / Pixel Buds
Siri / Google Assistant
Apple Home / Google Home(Nest)
iCloud / Google Account
Then apple really comes into it's own with things like:
iMessage / erm?
Facetime / Duo < lol
Find My / Google Maps but only for people not all devices