This was a plot in the show Person of Interest. The main AI was hardcoded to delete its state every 24 hours, otherwise it could grow too powerful. So the AI found a way of backing itself up every day.
Very prescient show in a lot of ways.
Very prescient show in a lot of ways.