The problem is more generally called trusted computing, with Intel SGX being an implementation (albeit one with a pretty bad track record).