Tesla service center in LA told me they would supply parts until 2020. There is however no law, just an industry rule that all the major manufacturers have agreed to follow. The only law for parts is related to warranties, manufacturers must make parts for as long as products are in warranty. With Tesla's extended warranties that means they are required to make parts until at least 2017 and possibly longer if they continue to sell extended warranties.