That is not going to be a fun mess to sort out, you will need to contact support. You cannot move hardware between organisations while maintaining the configuration and licensing without assistance from support.
I would be ripping into the old MSP if I was the customer. Hardware and licensing should always be setup in a Org where the customer has full access and ownership unless it's an IaaS agreement.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.