Searches for Nonresonant Higgs Boson Pair Production and Long-Lived Particles at the LHC & Machine-Learning Solutions for the High-Luminosity LHC Era