There have been a lot of tuning systems that take a workload and try to optimize things like index structures. They are tools that get your database "tuned" rather than "self-tuning".
However, I think this (very recent) research paper is a much better peek at how self-tuning might work: