Can artificial intelligence create art?

Can artificial intelligence create art?

Can artificial intelligence write novels, compose music, and create real works of art? Do artists see artificial intelligence as a threat, or are they willing to create with a help