It’s easy to derive the wrong lesson here. The point is not that Ayn Rand was a hypocrite. If you have strongly held political principles, you can’t live in the world without compromising them.
The point is that it’s impossible to build a market-driven healthcare system that works. Even the 20th Century’s greatest advocate of free markets needed government social programs to stay alive.