CBS knew about sexual assault claims against former CEO Les Moonves but hid them from shareholders and regulators, the New York attorney general's office said.