II$_1$ factors and equivalence relations with distinct fundamental groups