I don't think NASA holds shares in SpaceX - the word "invested" is wrong here.
I think what the article meant to say is NASA has awarded SpaceX $381m in contracts and development awards (through the COTS and CCDev programs).
I think what the article meant to say is NASA has awarded SpaceX $381m in contracts and development awards (through the COTS and CCDev programs).