Exploring the Random Landscapes of Statistical Physics and of High-Dimensional Inference