It's a security hole with any modern BMW. You can use the OBD port to pair a spare key to the car. There are devices that can do this which thieves buy for less than $1000 in China, see here.

The cars are broken into physically, the device is plugged in and a spare key is activated. With that, the car can be started. Afterwards, the (broken) key cylinders are replaced with the ones fitting the new keys.