Simon Pegg is convinced that the use of artificial intelligence will prevent mediocrity in Hollywood productions.