Hollywood is facing an uncomfortable contradiction. Artificial intelligence is raising fears about fewer opportunities for actors, writers and other creative professionals, yet some of the entertainment industry’s most recognisable names are beginning to work with the companies developing the technology.