In The Flesh 1970

A depressed tech worker begins experimenting with AI after his girlfriend leaves him for a politician.