Why do people have interests?

Of course a hobby can become an obsession; in a thinking machine, this could lead to the so-called paperclip maximiser catastrophe.