Pfizer snapped up a small percentage of Rhythm Pharmaceuticals, which is focused on treating rare genetic disorders that lead to obesity.