Doesn’t matter what Obama said about it. There was no law mandating that you buy insurance. Instead there was a tax on people that didn’t. It clearly was a tax. It’s hard to see how Roberts is wrong about that. That doesn’t make Obamacare constitutional, it just means that the individual mandate argument wasn’t the winning argument.
It never would have been passed by Congress if it were sold as a tax.