Most of those metrics can be gathered by off the shelf analytics SDKs. Not hardware IDs though. If they are doing that on iOS they are certainly violating a number of rules.
The proxy server is disturbing if true. Only reason I could think of that being necessary would be to use customer devices to perform distributed transcoding of other people's videos. Can't imagine that being something Apple would allow.