Nightwish: Symphonic metal (symphonic metal), power metal (power metal), some people say there is also Gothic Metal (gothic metal) style, probably referring to some songs from the Tarja era.
Similar symphonic metal bands include Epica, Haggard, Within Temptation, Therion, Xandria, etc.
Gothic metal bands include: Lacrimosa, Theater of Tragedy, Tristania, etc. There are also many bands whose styles tend to be gothic, such as H.I.M.
Rammstein: Industrial Metal, with a style of electronic music.
Similar industrial metal bands include Pain, Ministry, Deathstars, Marilyn Manson, etc.
I don’t know much about industrial metals...I’ll write down everything I know for you.