Good design can go a long way. People don’t do it because it’s slower and expensive.
Limit and carefully review 3rd party code
Use short lived workload identities tied to the host/vm
Only allow internet access to highly restricted proxies, separate inbound and outbound. Monitor carefully including recording a sample of flows.
Run anything interacting with raw user input in 2 layers of sandbox (containers don’t count). Again, carefully monitor, record all or sample syscall traces .
Restrict human access heavily. On demand, scoped and short lived. Only from secure devices, ideally locked down (no random web browsing).
Etc. all well known and practiced for 20+ years