The Supreme Court has upheld the nationwide tax subsidies under President Barack Obama's health care overhaul, in a ruling that preserves health insurance for millions of Americans.