I tried linkedin but almost every company asks for a valid US work visa.
Shameless plug: If you're looking to stay in your home country and work for a US company, we're building a new product to help you do that: https://www.waylit.com/nationull
A popular alternative is F1 - study for masters/phd in the US. Upon graduation you can stay work for 1-3 years on (STEM) OPT. 3 years is enough time to get proper H1B or green card, unless you were born in India or China.
For exceptional candidates, there's EB1, EB2-NIW - you can self-sponsor these without a company if you think you fit the requirements. Another type is O-1, company sponsorship required for this type but it could be your own startup and once you're in, you can work for another company on it. Biden reintroduced Entrepreneur Parole recently, another way to get into the states to roll your own startup.