First comes thought then organization of that thought into ideas and plans then transformation of those plans into reality. The beginning as you will observe is in your imagination.
Some people worry that artificial intelligence will make us feel inferior but then anybody in his right mind should have an inferiority complex every time he looks at a flower.