You cannot from the VIN.
Best way is on the main screen to check a couple of screens.
On the software tab, underneath the VIN you will see a in blue a link that says Additional vehicle information.
Click on that link and it will take you to a screen that will least the key items. It will show the Infotainment processor. If it says NVIDIA Tegra, then it still has the original AP1 MCU. If it says something like Intel ATOM, then the car has already been upgraded to AP2. You'll motor type listed. If it's a D, you'lls see front as Inducation and rear as Induction Small. If it's a performance version, then the rear motor should say something like Induction Large.
You can then go to the Drivers Assistance screen and you should see the settings for auto lane change, etc. If you have the ability to enable auto lane change, then it has Autopilot activiated which should transfer with the car.
If AP1 is enabled, then you have the full feature set for TACC, highway lane keeping (autosteer), and basic summon (will pull the car straight forward or rearward up to about 20 feet). Those came as a bundled set.
If Autopilot is not been purchased, then you will have basic cruise control (no radar assist, traffic aware cruise).
I have a mid-2016 'refresh' MS90D that I've owned since I purchased it new at the end of June 2016. I have about 63k miles on it at the moment. AP1 is great for long range road trips. Yeah, it doesn;t have fancy automatically take exits, recognize stop signs/lights, but great for long range trips.