Bose Corporation has been charged with a class-action lawsuit for secretly collecting and selling users' personal data.