Hacking the Bluetooth motor in the motorized LEGO® DC Super Heroes 76112 App-Controlled Batmobile
There's a node.js library that can connect to the Move Hub and control attached peripherals:

https://github.com/nathankellenicki/node-poweredup

This should allow you to write scripts and programs that can control the motor from your Mac.