Arduino resets my MacBook Pro
It is almost certainly a device-driver issue. Since Arduinos are probably a little way down the pecking order for things that Apple is interested in, they probably don't test as extensively as (say) printers.


  How can Arduino make such a sophisticated machine reset?


Device drivers would operate with elevated privileges, because they need to control, well, devices, like hard disks, printers, etc. If one has a programming error (like dereferencing a NULL pointer) then it could crash the whole operating system.



I suggest you look at this page: IDE 1.6.12 released with Sierra support and more

It says there:


  A new version of the Arduino IDE (1.6.12) supporting OSX Sierra is available for download! All OSX users updating to Sierra are invited to also update the IDE to avoid crashes when uploading sketches.


This may or may not help. They seem to be suggesting that the IDE crashes rather than the Mac, but it could be worth trying.



There are some posts on macOS Sierra Usb Serial Crash which seem relevant:


  I need to use a arduino nano and my Mac with mac os sierra is rebooted when i plug in the arduino


It sounds like the CH340 chip set used on clone Arduinos is causing this.

A suggested new device driver fix is at ch340g-ch34g-ch34x-mac-os-x-driver