Reporting debut earnings, SpaceX signaled heavy AI investments are weighing on profit while supporting long term strategy.