These are scams- do not take notice! All you have to do is close the page- you can even clear the cache if you want to feel extra safe. Your device is just fine- no website you visit will hurt it (as long as you don't download anything).
These websites are trying to trick you into downloading software and giving them permissions to access your device, which really could be a problem if you do so. Don't call their number, don't download their software- just go back. Everything is fine!
See here - Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support