True, but at the end of streaming, the provider/browser clears the cache. The legality of it is debatable, but downloading copyright material is certainly not legal.
If someone visits me at home and uses my coffee-maker the action is same as taking it to his home and using, but only one of them is acceptable.