Bitcoin hits all-time high before diving 5% on inflation fears