Hi twtan,
The Apple CarPlay can just be coded. From what I know, it's already preloaded into all iDrive 6.0. BMW dealers will charge a fee to unlock it.
Get n touch with a respectable BMW coder to do it. I would do it for you for free but I'm not in Spore. If your coder is not sure, you can...