is there any chances of getting your Bitcoin or ETH wallet compromised when newbies generates new address?
Of course, there are many ways in which your wallet can be compromised, but in summary that will only happen if you don't pay particular attention to security protocols on the network, protocols such as keeping your seed phrase/private keys to yourself alone, choosing the best possible wallet, taking everything that looks too good to be true as a scam, etc. If you don't want your wallet to get compromised, then you can beef up your security by going for a hardware wallet, which you can purchase for around $50, less or slightly higher, depending on the one you go for. Even if you don't go for a hardware wallet, make sure you use non-custodial wallet because if it's not your keys, then it prolly isn't your coins anyway.
It is possible that a bitcoin wallet can generate a wallet that's been in use by another user?
No. Whenever you 'create a new seed', it's unique to just you the creator, though if you lose your seed phrase to someone else they can always import your funds into another wallet using your seed phrase (in the same way you can as well), cause mind you that Bitcoins aren't actually stored in wallets, but on the 'network'.