I believe AMP required inserting a piece of Google controlled and hosted JavaScript in your content from the very beginning. So the cat was pretty much out of the bag on this already.
"AMP pages must...Contain a <script async src="https://cdn.ampproject.org/v0.js "></script> tag inside their <head> tag."
https://amp.dev/documentation/guides-and-tutorials/start/cre...
Their special tags[1] won't render without it, and I suspect Google won't include it in their SERPS if it's not valid AMP.
[1] https://amp.dev/documentation/guides-and-tutorials/learn/spe...