This administration (and the previous one) have been paying billions of dollars to chip companies to make fabs in the United States.
Trump in particular is essentially trying to make sure Intel lives despite market forces. It is effectively a quasi-nationalized entity akin to major military-industrial complex entities.
Given that, we are not talking about a random private entity. A US President making such statement about Intel is entirely justified.
"Strategic" companies like Boeing and Intel get socialism for corporations and rich people, but then decry "socialism" and "communism" for everything and everyone who isn't rich.