Intervals on any of the equipment you've listed will help you get in better shape. Intervals on a stationary bike that fits you close to the same way your road bike fits you will also make you a faster cyclist. Nothing is going to replace riding your bike in terms of making you faster riding your bike, but a decent stationary bike is a reasonable substitute, particularly if not all of your interval work outs are on it.