There is no legal doctrine for corporations to maximize profits. This is largely think-tank idealogy that has successfully won over the public mind. "Legal or moral duty to maximize profits" was a rarely uttered phrase in the 60s and one would hardly call the United States "not as capitalist" back then.