In the stock game, robots can't learn. That's the whole point about them. They're meant to be disposable. As for modding this in, it will require a code change, but it should be fairly straightforward. We don't have 2x2 units at all yet, but I imagine the experience code will simply skip them. So all you'd need to do is remove the check, and they'll learn just like soldiers.