I doubt that AI will ever figure out 'what to do' since it doesn't have a body and can't get out in the world.
But, if it does, I will go the way of all those buggy whip makers and find something else to do. (And it will probably be doing something with AI.)