How do built-in Magento modules add a custom block to the frontend customer registration form?

1. Previous articles:

2. How to

You can add a custom block to the frontend customer registration form by placing your block inside the form_additional_info container.
The form_additional_info container’s contents is rendered by Magento automatically:

3. Examples from built-in Magento modules

3.1. The «Remember Me» checkbox (the Magento_Persistent module)

3.2. CAPTCHA