You assign work to people, but not to computers. (I suppose if you are in the IT department, you might assign work to computer A instead of computer B based on capacity, etc. but that's not very likely.)
Hi, We don't use 'works' in the plural in a context like this. I suggest 'tasks'.
You can assign a computer those tasks. You can assign those tasks to a computer.
Are they correct and natural? They are OK, although I usually hear people' assign a task to a person'. I more often hear things like A computer can handle those tasks.