Software giant Salesforce is planning to invest $15 billion in San Francisco over the next five years to strengthen the city's dominance in artificial intelligence.