I think a more likely possibility is that they might be like like most domesticated photosynthesizers. Loose populations would revert to more natural traits and become less useful to humans and barely struggling for survival.
Consider what happens when farm grown tomatoes or corn go wild. The vast majority die off because their fruit wastes a ton of energy becoming huge and visually appealing. Those with just enough fruit to entice animals to spread it, those that grow faster and those with the best resistances will succeed in the wild.
Can these bacteria benefit from these solar cells without the help of humans feeding them? If they could then natural selection will reinforce our decisions and we could have a real threat.
I agree the risk reward part of this needs careful analysis, I don't think we need to go straight to doom and gloom.
EDIT - Speeling, and grammar.
[1] - https://en.m.wikipedia.org/wiki/Heracleum_sosnowskyi
[2] - https://en.m.wikipedia.org/wiki/The_Day_of_the_Triffids
[1] - http://www.slate.com/blogs/bad_astronomy/2014/07/28/the_grea...