ABB gave a brighter outlook for 2018, saying it saw improving markets around the world.