Spat between star and Sam Altman’s company shows why Hollywood is worried about how artists’ work is used in the age of generative AI