Elon Musk's firm reports falling profits as tariffs hit and the US cuts support for electric vehicles.