A dangerous bacteria is being used by researchers to help create a range of bioproducts with no carbon footprint.