Microsoft is gaining ground in the race to become the world's most highly valued company, with some institutional investors believing its focus on artificial intelligence (AI) puts it on course to potentially surpass Apple in market cap in the next five years.

