To my knowledge, it cannot. In order for a computer to choose a number from an infinite series of numbers, infinity must be defined. However, infinity is unable to be defined, as once it is defined, it is no longer infinity; it becomes a real number.
A computer can choose a number between 1 and 9.9E+999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
But that is not infinity.
Also, the computer would have to return some defined amount. But say it did choose "infinity"... how could it possibly be displayed? It would take an infinite amount of time to calculate, an infinite amount of time to display, and an infinite amount of time to read.