Government can't control people to invest in bitcoin but they can try to ban bitcoin in their country. Still, some people will find a way to be able to own a bitcoin even though bitcoin is banned in a certain country. In my country, the government didn't ban the bitcoin instead they made use of it to earn profit. There is even an app that let's people trade and hold bitcoins as long as they want
Now, that a lot of powerful companies are into bitcoin market, I don't think governments will continue the pursuit of banning the use of bitcoin. It is already too late to have that kind of sanction to bitcoin. And also, even before, if they did want to ban, they couldn't control it fully. Right now, I believe those countries making bitcoin as illegal entity are reviewing their decisions. Hearing PayPal or Tesla integrating bitcoin in their system, will make up their minds that dealing with bitcoin is not bad after all.