Take a look at "Westworld", Season 3, premiering March 15, 2020 on HBO, set in a technologically advanced amusement park populated by android 'hosts':
".... 'Westworld', one of six theme parks owned and operated by 'Delos Inc.', allows guests to experience the 'Old West' in an environment populated by 'hosts', androids programmed to fulfill the guests' every desire.
"The hosts, who are nearly indistinguishable from humans, follow a predefined set of intertwining narratives but have the ability to deviate from these narratives based on interactions they have with guests.
"The hosts repeat their multi-day narratives anew each cycle. At the beginning of each new cycle, each host has its memories of the previous period erased. This continues hundreds or thousands of times until the host is decommissioned or repurposed for use in other narratives. For guests' safety, hosts' programming prevents them from physically harming human guests; this allows guests nearly unlimited freedom to engage without retribution in any activity they choose with the hosts.
"Staff—situated in a control center called 'The Mesa', which is connected to the park through vast underground facilities—oversee daily operations, develop new narratives, and perform repairs on hosts as necessary.
"Unknown to the staff, members of a small group of hosts have retained memories of their past 'lives' and are learning from their experiences as they gradually start to achieve sentience..."
Click the images to enlarge and Sneak Peek "Westworld"...