The history of basketball is full of these: repeatedly widening the key because big men were OP, introducing offensive and defensive goaltending rules because big men were OP, outlawing zone defense in the NBA because zone defense was OP, followed by legalizing it because isos were OP.
Baseball and soccer are two of the most traditional and conservative sports, so it's not as fair to single them out, even though baseball goes through periods of raising and lowering the pitchers' mound.