A divided U.S. Supreme Court on Friday limited the ability of consumers who allege harm from privacy and data security breaches to seek class action damages under a key federal statute.