I'm currently reading Chip Wars and according to the author there were other companies trying to build EUV machines. It seems a lot of them shelved the plans after having ploughed a lot of money into research. ASML stayed the course and bet big on it paying off, which it looks like it has.