It's nothing like a forced technology transfer at all. The US isn't acquiring TSMC tech in any manner what-so-ever. It could hack TSMC - as China does the US - if that's what it wanted.
The US is adding such domestic manufacturing for strategic national security reasons: namely, a modern tech-heavy economy can't function without the chips that power it. And yes, of course it pressured TSMC to contribute to that.