MARA swings to a quarterly loss on bitcoin markdowns but shares jumped after announcing an AI data center partnership.