New York — A group including Apple Inc., Google Inc. and Research In Motion Ltd. agreed to buy patents from bankrupt Eastman Kodak Co. for about $525 million, gaining digital-imaging technology to capture and share pictures....