Sometimes getting rejected in an interview for a job you really want can be a blessing in disguise. This decision also makes me much less interested in working for Amazon going forward. They definitely aren't living up to their own "Leadership Principle" about being "Earth's Best Employer" when they're doing unethical things like this.
My advice to those who are in that situation is to make Amazon get rid of you so that you can (probably) file for unemployment. I'm not an employment attorney but my understanding of employment law is that quitting disqualifies you for unemployment but that a company ordering you to relocate to "return to an office" when you were hired to work remotely is probably constructive dismissal which is eligible for unemployment. This will also help if you need to fight them in court over repayment of your bonus. It may be difficult to find another job right now thanks to the Federal Reserve's monetary policy decisions so you might need the unemployment and/or bonus money to survive in the meantime.
Pretty sure Amazon has always had virtual employees, and you should be able to request to switch, possibly with impact on your pay.