Warren Buffett’s Berkshire Hathaway unveiled a big investment in Chubb, resolving a mystery that has intrigued followers of the Omaha, Neb., company.