Ex Machina (2014) is a science fiction thriller directed by Alex Garland. It follows a computer programmer, Caleb Smith (Domhnall Gleeson), who is invited by his CEO, Nathan Bateman (Oscar Isaac), to his isolated home to participate in a groundbreaking experiment involving artificial intelligence
From Wikipedia
Ex Machina is a 2014 science fiction film, written and directed by Alex Garland in his directorial debut. It stars Domhnall Gleeson, Alicia Vikander, and Oscar Isaac. It follows a programmer who is invited by his CEO to administer the Turing test to an intelligent female humanoid robot.