Huh, I was going to wonder if this inspired the AI safety concept about how you shouldn't program a superintelligent AI to optimize the number of things it can see that look like human smiles, since unfortunately there are many ways to maximize that other than making real people genuinely happy.
But it seems like the Doctor Who episode is from 2017 and so it could potentially have been inspired the other way around.
But it seems like the Doctor Who episode is from 2017 and so it could potentially have been inspired the other way around.