Westworld by Michael Crichton

An experimental, high-tech amusement park populated by lifelike androids lets wealthy visitors indulge fantasies without consequences, but when the robots’ safety systems fail the attractions turn deadly and guests are forced into a desperate fight for survival; the gripping, suspenseful story examines the perils of advanced automation, human recklessness, and technology gone wrong.