The bone density issues are from the cycling as it's non weight bearing. Aerobic exercise isn't related to that as running/walking are aerobic and be great for bone density since weight bearing.
Testosterone decreases with age regardless but low end aerobic exercise for long durations can contribute if not balanced out. You don't have to get crazy dedicating time to strength training but doing a little bit helps.