a ‘masterpiece’ is a very subjective term. Most are viewed as such not because of some objectively measurable quality but because of their uniqueness/originality (at the time) and context. In that regard it’s hard to imagine AI could achieve that until it became very good at imitating humans.