As to why.. it's corruption. They would be bailed out as an act of corruption, to use the public machine for private gains.
They want to cut those programs anyway, it's a win/win.
The Iran war is probably going to cost $1T or more (it's ranging from $1B/day to $2B/day already), so it's going to be more costly than this hypothetical OpenAI bailout. The Republican base doesn't care.
OpenAI is a young company and if it collapses it is an indictment that AI is perhaps not really all that valuable. Further the technology and brand can be sold to a US company with plenty of expertise in AI themselves. The loss of jobs, relative to the larger economy, is minuscule. Google, Microsoft, Amazon, Apple, would all be happy to buy at a discount.