Computer-generated imagery (CGI) has become an inseparable part of filmmaking, shaping the way stories are told on screen.