@inthehands and yet I want to content that Hal is also a bad example, because Hal is a weirdly rational actor in his breakdowns: he‘s told to lie and can‘t. He understands truth and distortion.
Skynet blows people up cause it‘s a military AI and frames survival in terms of mutually assured destruction.
As "dysfunctional by intention" goes I feel Skynet captures the contemporary callusness of model design better than HAL.