The Walt Disney Co. has agreed to pay a $2.75 million fine and implement sweeping privacy reforms to resolve allegations that it violated California’s landmark consumer privacy law by making it excessively difficult for users to opt out of data sharing and sales, state officials announced.