Machine Learning for Fundamental Physics