Revert "[Profiler] Move Kineto activity generation into `collection.cpp` (#80796)"
This reverts commit 24e6b60be29d2e53b967809067fff392c0591e53.
Reverted https://github.com/pytorch/pytorch/pull/80796 on behalf of https://github.com/malfet due to Broke OSS iOS builds, see https://hud.pytorch.org/pytorch/pytorch/commit/24e6b60be29d2e53b967809067fff392c0591e53