Charge frustration in complex fluids and in electronic systems