Well, teach/guide him to do open source development? That way he can even do good, and, possibly there might be a charity of some sort that loans the necessary equipment for him to do the work, and as long as he doesn't own it/can't use it for his own good (might be considered as taxable income then), he could probably get away with it.
Don't feel bad. UBI is there, just with a shitload of bureaucracy around it.