Intellectual Property Protection: From Integrated Circuits To Machine Learning Models