More useful things have been invented out of an express desire to be lazy than I can even count.
Not so much a "desire to be lazy", but more about pre-empting laziness.
Laziness is like entropy; it's gonna happen.
Tedious manual processes are inherently error-prone. If everyone is conscientious and on-the-ball, things generally work, albeit less efficiently than we'd like. But that's not sustainable in the long term... eventually, people get into a groove and start getting sloppy.
Designing, writing, testing, and rolling out (usually against the inertia of an existing process) a program isn't lazy. It maybe allows the programmer to be lazy later, but in the short term actually a lot more up-front work. It's just a shedload more interesting that the actual work it's replacing, which is usually the main motivation for doing it at all.