Tesla cut prices in its major markets including in the U.S., Europe and China amid slumping sales and a glut of inventory.