I guess you didnt read the proclamation... 100k payment is only enforced at entry. F1 students when they are ready to apply for h1b are already inside the US
https://www.wsmimmigration.com/immigration-resources/faqs/fi...
F1 is the same. You can have an expired visa but maintain legal student status in the US because visa is for entry only.