There is no way to do this. At least none documented or supported. (The whole idea of the MDB was to be the single place initially, so the thought of "merging" was never considered.)
What I can tell you is that if you wanted to take the APM data and put it into the SDM MDB, you would need to extract it from APM (via searches and exporting to csv), and then after installing APM on the SDM MDB, import back (via import jobs). But this is no small/simple task, especially if your APM data has many child objects attached (costs/payments, notes, relationships, etc) as you would need to be able to extract those as well, and import them back in, making sure to connect up to the correct MAIN object. And you cant do this via UUID, as the UUID is not exportable/importable between systems.
Also, if the same asset/item exists in both the SDM and APM mdb's currently, you need to somehow make sure that it updates the SDM item instead of creating a new one.
And there is also no way of extracting your APM configurations (extended fields, hidden fields, changed fields, custom searches) from one system to another. They would need to be re-created by hand.
Lastly, in doing this, you would lose all your history from the stand alone APM MDB. There is no way to export and import that history and the audit trails of it.
So, this is not something that an just be done in an hour or two. It requires careful thought, consideration, testing, and data analysis.
In my opinion, the best way to do this is to move the main data objects (assets/models/locations/legal documents) as best as you can via export/import into the MERGED system, and then make sure your processes all use the new system, while leaving the old system around for a specified amount of time (6, 9, 12 months) as a historical repository if needed.
Rick