Prosecutors claim the streaming giant tracked and logged users’ viewing habits and designed its platform to be addictive.