Tesla has raised prices on its Model Y after the U.S. government altered the rules for EV tax credits.