Tesla remains profitable, but the headwinds don’t look good.