Production of cholesterol-like molecules impacts Escherichia coli robustness, production capacity, and vesicle trafficking.