The chance of getting one head in a row is one half, two heads a quarter and so on.
The chance of getting 100 heads in a row is one in 2^100 (that's 2 x 2 x 2 ... with 100 twos)
That's a big number - it's approximately 126765 followed by twenty five zeros.
1267650600228229401496703205376
which is approximately 1.2676506002282294e30
The number of atoms in a coin is only about 5 followed by 22 zeros.
Now lets assume that every time you flipped a coin you caused one atom to be worn away from it. Let's also assume that once 20% of the coin has worn away, you can no longer tell heads from tails, so you have to swap to a new coin.
If the coins were nickles, you'd (on average) have to wear out about six million dollars worth for each run of 100 heads to occur.
Yes, achieving the feat in question would not be cheap.
Now you can already see that it's practically impossible to get a run of 100 heads. And, of course, the assumption about only wearing one atom away per flip was ludicrous. No matter how careful you are, you would cause much more wear than that so you'd actually need a whole lot more than $6 million, and a correspondingly longer amount of time spent flipping
Here follows an attempt to estimate the cost of getting a run of 100 heads.
I'm going to assume we don't have to use actual coins. Quantum processes are much fairer than metal coins, and we can generate random bits much faster using quantum processes than by flipping metal coins.
For a few billion dollars, we could probably design a machine that flips on the order of 1 billion random bits per second. With mass production, we might be able to get the unit cost down to something like a thousand dollars per machine. For a mere trillion dollars, we could build a billion of those machines. If each machine consumes 100 watts, then the cost of running each machine for ten years would be comparable to the initial cost of the machine. Let's say each machine wears out after ten years and has to be replaced, so the annual cost for operating a fleet of one billion machines is about two hundred billion dollars.
If each machine were to generate 100 random bits before examining the results, we'd expect to operate that fleet of machines for about 4 million years. We can do a lot better by programming the machines to give up on a sequence as soon as the first tail comes up. Then we'd expect to complete our project in less than 80 thousand years, at a total cost of only 16 thousand trillion dollars.
No one said it would be cheap.
It's not impossible, just unlikely. If we're lucky, the project might finish within its first year of operation, much sooner than scheduled and well under budget. If we're unlucky, it might take millions of years, but what's the point of worrying about that? We might as well be optimistic.