You are correct, we have AI and its limited to the programmers instructions. You are describing is what Ben Goertzel terms AGI (Artificial General Intelligence). AGI could be programmed to drive a car, but then by adapting those skills and learning it could ride a motorcycle. The distinction here is that AGI could solve a problem without being programmed for the task; one example is figuring out how to use a coffee grinder and make a pot of coffee.
Most of what I have read suggests in as little as 20 years (if resources are devoted) we could reach a singularity with AGI on par with human intelligence; however, whether thats true or not, just imagine in as little as 10 years what Ben could do to the stock market with a more basic AGI? We could be heading into a world were they simply have to shut the exchanges down.