2005 Mazda Mazda3 - Did I break it?

,and I doubt if you did any damage. You were just hearing the engine at high RPM, and the engine probably has a mechanism to limit the RPM to prevent engine damage.