Microsoft beat Salesforce to acquire LinkedIn because it offered all cash and less risk, said LinkedIn CEO.