*Spoiler Warning*
I get why people are confused.
You have to watch closely to see the signs of addiction before he takes the yellow pill. He was an addict before he encountered Isabel (Salma Hayek). If you see the scene right before the wallet flicker in the office, he is taking drugs / is preparing to snort it out, which you can hear when the shot cuts to the view of the rehab center across the road. Anything from that point on can be attributed to being a delusion. Bjorn’s accidental death, the tray falling off, the suicide was a deception of his mind, bringing to life his internal wishful thinking.
His lines of reality became blurry as the movie progressed, as it was for the audience, but the simple truth is that the world he was in before was real, and the world he went into was the fantasy. He was in a perfect utopia where he is a doctor; people (Bill Nye!!!) revered him for his invention, no more poverty due to automation and unlimited resources.
That is funny to consider in itself because in actuality, if someone just distributes the wealth evenly, and everyone is earning 500K, it doesn’t fix all the world’s problems. The ingenuity of human greed will find ways to exploit this generosity. Beside how does the economy work? When everybody is rich and has that much money, the price of commodities will sky rocket!
Also if this world was a fantasy, why would they show a cut scene of his daughter taking to his son? That is a very normal, very real conversation. His son has given up on his father due to his obsession with his fictional world he has created, where all problems of humanity have just been magically solved.
The beauty of this movie is that it gives you an insight of the struggles of addict’s minds who just wants to escape this reality because life, in general, is not easy. We live this life with our struggles and sometimes for some folks this is just too much to bear. It also illustrates how hard it is to actually leave your fantasy and face reality. Unconditional love is the only way you can bring someone out of their misery.
You have to see this movie not as a science fiction, but rather as a tragic drama of an addict, from his muddled and delusional perspective and his choice to face the world he has, rather than imagine a world that cannot be.