Topological phase transitions from Harper to Fibonacci crystals