That's a good point. Like with any other business activity, software can be automated -- to a point. You can automate the repetitive parts of business activity and software development.
But you can't automate an entire business and you can't automate the entirety of software development either.