Apple has “Advanced Data Protection” that you can enable
This was built after the NSO group hacks to lock down the device to be resilient to nation state attacks.
It limits some of the attack vectors you’re taking about (with a tradeoff of also limiting some features).
Apple also enabled true e2ee in the cloud where only you retain the keys.