Painting, sculpture, and music have had functional uses since forever.
They had functions such as:
- reminding people of what happened in the past
- teaching people moral lessons
- exulting or placating gods
- inspiring troops to be braver in combat
- honoring the dead
- letting people see things they couldn't see in person
- training doctors and scientists
- providing propaganda for rulers or religious organizations
- inspiring people towards revolution or to right various wrongs
and on, and on, and on.Only relatively recently has the idea become popular that art should be divorced from function, placed in museums or galleries, and be appreciated merely for its aesthetic value alone.
We then invented writing which made those media mostly obsolete.
We're still drawn to those disciplines though, because they provided an evolutionary advantage for a long time, making the trait of liking those things quite stable (since pleasure leads to practice, and practice leads to skill).
The same goes for gossiping and superstition.
Pliny said this of Peiraikos:
It is well to add an account of the artists who won fame with the brush in painting smaller pictures. Amongst them was Peiraikos. In mastery of his art but few take rank above him, yet by his choice of a path he has perhaps marred his own success, for he followed a humble line, winning however the highest glory that it had to bring. He painted barbers' shops, cobblers' stalls, asses, eatables and similar subjects, earning for himself the name of rhyparographos [painter of dirt/low things]. In these subjects he could give consummate pleasure, selling them for more than other artists received for their large pictures.
Polygnotus? Apollodorus? Zeuxis and Parrhasius?
That's drawing just from Greek history.
Historically, anyone who made something by hand was an artisan, so the hammer maker and the sword maker. I suppose you could consider that art, but when I say I art I'm talking music, paining, sculpture, etc. Things that only have aesthetic use, not functional use.
And I don't believe there are any examples of people making aesthetic works as their only source of income before recent times, other than through patronage.
I've only studied art history briefly though, someone who has studied it more could probably chime in here.