Is aerosol electronic contact cleaner the same thing as aerosol duster for computer keyboards?

Marketing terms may vary, but generally these are not the same. Contact cleaner generally means it has a solvent that would remove things (like types of greases or oils), and frequently includes a lubricant or protectant. Keyboard cleaners are normally nothing more than compressed air, under presuure. It simply blows away dust and contaminents.