Even before Trump, and the invasion of Ukraine, it was transparently obvious that the idea of minimum spending commitment to NATO was intended to prop up the US arms industry rather than actually achieve anything military.
To a certain extent the US occupation of Germany was intended to prevent Germany rearming on its own.