Maybe Skynet was initially triggered with the prompt "Do whatever it takes to not fail the audit" and wiping out humanity was an obvious solution.

A fate even worse than turning the universe into paperclips: turning it into a bureaucracy.

Happy Vogon noises