From Caravaggio to Warhol, Yayoi Kusama and Amalia Ulman, these works ask: does art imitate life or life imitate art?