No a big part of the chips and inflation reduction acts are definitely the creation of jobs and the bringing of manufacturing back to parts of America that has been deindustrialized due to offshoring.
That is just what they say to get support from constituents who don't understand international power struggles and the strategic importance of chip production capabilities. The overarching motivation is global strategic power and security. Read Chip War: The Fight for the World's Most Critical Technology.
While policies can have multiple goals, the primary goal of the CHIPS Act is definitely supply chain independence for the US Military, Job creation is a nice side effect.