How can we use computer in making artwork?

Air, a new mineral, or a plant, for example, cannot be patented. Several machine learning algorithms and artificial intelligence (AI) fail to gain patent protection because their invention is deemed by law to be an abstract idea.