The widely viewed AI-generated videos, which offer free upgrades to premium services from Spotify and Microsoft, are trying to trick users into installing malicious code that can spy on users’ PCs.