Art is an extremely general and subjective term. I have seen code that is artful. I have seen paintings that are artful. No artist can lay claim to what is art in a field they may be unfamiliar with.
I've seen code that's poetic and artful. Computer science, like any science, has artistic elements to it, especially when economy of motion is utilized.
Money isn't art. To quote Robert Graves: "If there's no money in poetry, neither is there poetry in money."