10,000 artists in, one $20k work of art out.
Whereas something like the engineer is closer to
5 engineers in, $500k of work out (and even that is pretty conservative)
Also i'd point out the selection bias of not counting people who fail out of engineering school but still counting every unsuccessful artist.
As a first order approximation the "price" of art (as distinct from its value) is a function of branding not asthetics.
Secondly most artists get paid, not from doing fine art, but from adjacent careers that require good color, balance, composition, and so on. Industrial designers (think Jonny Ive), interior design, food presentation, magazine layout, web design, architecture and so on. Art skills are all around us. In the same way engineering is around us.
Put another way, engineers build ugly (think beige PC boxes). It took an artist to give us the iMac. And it was a marketing genius (yet another important skillset) to bring the artist and engineer together.
Teaching math goes far beyond creating mathematicians. Teaching art goes far beyond teaching artists. Societies that drop art because it is unproductive get ugliness permeating everywhere.
Applies to art, fashion, media.
Most practical (including engineering) successes are much less externally attractive but do make decent money for everybody involved.
Further, judging the value of art to society by how much it costs is ridiculous and an asinine comparison.