JWST/MIRI Simulated Imaging: Insights into Obscured Star Formation and AGNs for Distant Galaxies in Deep Surveys