Chimps are very dangerous. They are far stronger than a man and can inflict horrific bites. Apes of course are even more dangerous than chimps.
If I wanted a primate as a pet I would opt for the breed most often chosen by organ grinders and street performers, the Capuchin.
A Capuchin is far more intelligent than a dog..even the brightest dog, the Border Collie, is no match for a Capuchin.
But even the tiny Capuchin could deliver a painful bite.
A nice family film staring a Capuchin is "Monkey Trouble"
I was once bitten by a Capuchin. For real. (No, my sister was not bitten by a moose.)