"The Imitation Game" (2014) is the fascinating story of the development of this machine by its inventor, Alan Turing.

Trailer here: https://www.imdb.com/title/tt2084970/