Tank breather rubber funnel.
Older bikes had rubber pipes coming from the tank metal pipes down to the lowest point of the frame with a breather pipe and excess fuel pipe.
Later models had this fitted instead so that the tank metal pipes just drop down straight into it, making things a bit neater and less chance of clogging up.