Japanese insurer Sompo investing $500 million in data analytics firm Palantir