Ab Initio Molecular Cavity Quantum Electrodynamics Simulations Using Machine Learning Models