Just to add to the previous answer, one example of such asset (returning 'risk-free rate') is a money market (or bank) account, but it is only locally risk-free, with value accruing continuously at the risk-free rate prevailing in the market at every instant. It is risk-free only over a short period of time. In long term it is stochastic too. Its SDE is:
$$ dB_t =r_t B_t \; dt, \; B_0 =1, $$
or, equivalently,
$$ B_t = \exp \left( \int_0^t r_u\; du \right), $$
where $r_t$ is a stochastic progressively measurable process with locally integrable paths, making $B_t$ a finite variation process with null quadratic variation. Intuitively, this means that it has a smaller degree of randomness with respect to the other risky assets. (In FX or equity option pricing, based on such intuition, one even assumes time-dependent deterministic interest rate.)