Spanish energy company Cox plans to invest 5.5 billion euros ($6.4 billion) in water and renewable energy through 2028, almost half of which will be made in Mexico, it said on Thursday.