To deploy the updated hosts file to all company computers, Alex used a combination of scripts and Active Directory group policies. He created a script that updated the hosts file with the new block list entries and then deployed it to all computers using a group policy.