I guess I'm a bit confused. You work for company A, which hired company B to manage the work at company A, and now has fired company B and hired company C to do so? Company C is telling you that they are going to terminate you if you are not able to pass their physical within the next eight days?
Are you a member of a union? If so, talk to your union.
Are you already represented by a workers compensation attorney? If so, talk to your lawyer right away. If not, go have a free consultation with an experienced workers comp attorney. You can find good ones on this site or at www.CAAA.org, the organization for attorneys who represent injured workers in California. You might also want to talk to an employment law attorney. You can fine them on this site as well, and at www.CELA.org.
Are you working at this point or off work? Are you working modified duty? That may make a difference. What is the new company doing with regard to all other employees in the same position? The same requirement or not bothering them? Do you anticipate meeting those requirements in the future? Lot of questions to answer before we can give a good response.
This may get complicated. You also want to make sure you have the best medical care available. It would be wise to consult with a good WC attorney. Find a good one here at www.avvo.com or at www.caaa.org. CAAA is the association for attorneys here in CA who represent injured workers.
Being terminated by the prior company is not unlawful if the job you were doing for that company no longer exists. It is not disability discrimination to terminate an employee while they are out on disability if the job is eliminated and the termination is completely unrelated to the disability.
Not being hired by the new company is unlawful only if the new company has a job that you can do within your restrictions, either with accommodations or not. The new company is not required to hire you if you cannot perform the essential functions of the job, with or without accommodations, for which you are applying.
If you heal to a point that you can perform essential functions of a job with our without accommodation and you apply, but are turned down because of your past or present disabling condition, then you might have a claim - if you can prove that is why you were rejected for the job.
Good luck to you in your recovery.
This answer should not be construed to create any attorney-client relationship. Such a relationship can be formed only through the mutual execution of an attorney-client agreement. The answer given is based on the extremely limited facts provided and the proper course of action might change significantly with the introduction of other facts. All who read this answer should not rely on the answer to govern their conduct. Please seek the advice of competent counsel after disclosing all facts to that attorney. This answer is intended for California residents only. The answering party is only licensed to practice in the State of California.