The lesson is, don't give an android emotions, creativity and impotence.
Neil Degrasse Tyson literally sad this (apart from the impotence). We have no reason to fear AI if we don't give them emotions.
Buuuuut like Holloway said to David. We made you because we could. And I do think that it's inevitable cause we humans are a curious bunch.