It's based on media reports like https://electrek.co/2016/11/30/gm-chevy-bolt-ev-loss-before-... and http://gmauthority.com/blog/2017/06/ubs-gm-probably-loses-ab....
Electrek report is based on taking to GM insiders. gmauthority is based on a vehicle teardown.
For what it's worth during earnings calls Tesla discloses profit margins for their cars.
As I understand it, GM never publicly disclosed profit margin for Bolt so the unofficial guesses is all we have to go on.
It paints a hopeful picture if you're interested in the future of electric cars, I think. The Bolt is something GM threw together with the minimal amount of effort necessary, understanding that this generation would have pretty low volume, and it's honestly really good for what it is.