ASML on Wednesday raised its guidance for a second time this year as its customers continue to ramp up their production capacity of AI chips.