Entanglement is not a critical resource for quantum metrology