Netflix announced it will buy Warner Bros. in a $72-billion deal that includes ownership of iconic properties like Harry Potter and the DC Universe.