To your point, we don't usually ask for similar information like blood type in online forms. In the past, single/married was much more frequently asked. Are we at the point where gender is heading the same direction? For signing up for a library card or a Netflix account, no. But it depends on the context.