When cameras outcompeted human painters, the humans started doing "modern" non figurative art. Cameras can't compete with Dali's imagination.
This had some success, but mostly painters had to find other jobs. Some became photographers.
Our appreciation of art is usually a mix of liking the art itself and admiring the artist. Machines can make technically better art, but I think humans will always be more admired.