Self-learning AI operating systems