how to delete property from object
Your first command adds a new property to bpy.types.Object as in your altering the base class used for all objects. The next steps you are trying to remove a custom property from an individual object instance.

To add and remove a property from all objects -

bpy.types.Object.thing = bpy.props.BoolProperty()
del bpy.types.Object.thing