Tesla notches seventh straight loss ahead of Tuesday earnings release