If you want to invest in Occulus Rift then you would need to invest in Facebook.
Occulus Rift is not a public company so you can't buy shares directly.
A better option would be to find other VR start up companies that are seeking funding and invest in them directly.
However if you don't...