Salesforce said the funding will go toward advancing artificial intelligence and creating jobs over the next five years.