Profits are being squeezed by price cuts for Tesla's electric vehicles and higher spending on AI technology to convert those EVs into self-driving cars and build humanoid robots for factory work and other tasks.