Intel SGX - allows you to run your code on a someone’s hardware fully assured that owner can’t get nor your code not your data.
MPC - Multi-Party Computations. To protect your data and algorithms, you split data and code between multiple parties in special way that prevents them from knowing what exactly was computed.