On Fuchs' Problem about the group of units of a ring