Uh they did the figures... and well the money will (potentially) flow out of Nikola into GM, not the other way around.
Hardly buying into them, just gives GM another potential revenue source.
There's little to no risk for GM, they're already walking down the path that Nikola wants them to...